Problem 3

Problem 3 solved