Given n person, and each are given m cards in succession. Upon reaching the last person, the next m cards will then be repeatedly given starting from the first person again.
Continuing doing this until all the p cards are distributed completely.
Which person will get the last card? Or the p/2 (middle) cards?