Solution for Problem 10

[Finished in 12.9s] eeeks