POJ#2275 Simple math. No need to get optimal solution. Rank:13597