James asked 50 pupils which drink they liked best from cola, milk and water.
23 boys were included in the survey.
11 of the boys said that cola was their favourite.
3 boys liked water best and 7 girls liked water best.
22 pupils altogether said that milk was their preferred drink.
How many pupils altogether said that cola was their favourite drink?