Rohit Goyal's submission of Reverse Maximisation | CodeChef