saurabh middha(enfinet)'s submission of Problem 3 | CodeChef