Linh Nguyen's submission of Problem 17 | CodeChef