MANU AGRAWAL's submission of Problem 4 | CodeChef