Problem 49 Solution, ~0.021 second Execution Time