Solved problem 29 without bigint, double, or strings!