I am confused about the first test case of Problem - 1158A - Codeforces. Couldn’t the boys present sweets as follows: 1 and 1, 3 and 4, 1 and 1 respectively? This is only 11 sweets, not 12. Where am I misunderstanding it?
the second boy’s presented 2 sweets to one of the girls, so he can’t present 3 and 4 sweets