If both leave, then the predecessor to the Kingdom of Great Britain was the Kingdom of England
Wales was already part of England, as principality / having been conquered
Though "United Kingdom of England" could argue that they kept the Irish crown :)