A building has 50 storeys. 25 of the storeys are painted black and 25 are painted gold.
The sum of the number of gold storeys in the top half and the number of black storeys in the bottom half of the building is 28.
How many gold storeys are there in the top half of the building?
This problem is adapted from the World Mathematics Championships