added code for problem 69