Problem 65 solution

Runs in 0 secs :)