There are 40 pupils in a class. Half of the class likes blue. One-fourth of the remaining likes green and the rest likes yellow. How many pupils like the color yellow?
Please reason step by step, and put your final answer within \boxed{}.
user