Devesh Agarwal's submission of Whats the Rank | CodeChef