Because the total number of buttons is even, the total number of buttons for boys must be even.
The number of buttons for boys is five, so the number of boys must be even.
And the total number is odd, so the number of girls is also odd.