Adding Problem 31