Ritesh Kumar Gupta 's submission of Problem 3 | CodeChef