Ultra-Fast-Mathematicians

1 test case fails, please check my code.
Here is the link to my code.