Kattis Set 10 - Harder Mathematics