Problem 18 and Problem 67