Possible checkio error
For some reason on the last test (in the file not the task) the program finds the answer, prints it out, returns the answer and just keeps running. It only occurs on that test out of all the tests I've seen. Also, it will run any code after it runs that test but still won't finish the program. Also the program stops running when I try it on repl.it.