Python Brute Force Solution to Miruka