Vineet Kumar's submission of Problem 4 | CodeChef