Because adding 12 2's together makes 24.
That is, because 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 = 24.