Adding exercise 47