Added problem 40,47