Linh Nguyen's submission of Problem 9 | CodeChef