Problem 27 solution
Problem 47 solution