problem 6 was easy