Grice's submission of Move the Coins 2 | CodeChef