Amit Dwivedi's submission of Coins And Triangle | CodeChef