(podle [Eason], 10 / problem 6 )