Submission of exercise 10-16