A school year is split into three equal classes. Every student either is either a boy or a girl, with the total number of boys and girls being equal.
Class A has twice as many girls as class B, and four times as many boys as class C.
Class C has two more girls than class B has boys.
How many students are there altogether?