Md. Najmuzzaman's submission of Problem 2 | CodeChef