Problem 1.11 with the input