Three daily newspapers X, Y, Z are published in a city. 65% of the people in the city read X magazine, 54% Y magazine and 45% Z magazine. 38% of people read X and Y; 32% of people read Y and Z; 28% read X and Z magazines and 12% do not read any of these three types of magazines. If the total population of the city is 1000000, determine how many people in the city read all three magazines.