Problem 45 done.
Breaking away from doing all problem in order. This problem was a fun
one where I got to play a bit more with sets. Takes about half a second
to run even though it's pretty much bruteforce. Seems like this should
have been harder.