Devesh Agarwal's submission of Magic Coin | CodeChef