Python program to solve students problem described on claymath.org | Dark Hacker News