Problem160.py Brute Force