In a class of pupils, 11 play the flute and piano.
10 play the flute only.
5 play the piano only.
3 play neither instrument.
How many pupils are in the class?