Problem #PRU-30456

Problems Set theory and logic Mathematical logic Mathematical logic (other)

Problem

There are two piles of sweets: one with 20 sweets and the other with 21 sweets. In one go, one of the piles needs to be eaten, and the second pile is divided into two not necessarily equal piles. The player that cannot make a move loses. Which player wins and which one loses?