Partially added problem 17