Solved ex1.39