Linh Nguyen's submission of Problem 7 | CodeChef