Add exercise 39