To run this M12 Solver, simply cd into this directory and then press python Math120.py It will ask you for a permutation Type each number in, separated by a single space, like so: $ python Math120.py Enter Permutation: 2 4 6 8 10 12 11 9 7 5 3 1 ['R', 'R', 'R', 'R', 'R', 'R', 'R', 'R', 'R'] Enter Permutation: 2 4 6 8 10 12 11 9 7 5 1 3 no solution exists Do each R or L from left to right and see your topsy turvy is solved!