Problem 62

Still need some optimization, the one minute rule is not respected