Erfan Alimohammadi's submission of Problem 1 | CodeChef