Solution #5. Horribly brute forced.