Problem 56 solution and problem 57 start