Find the acute angles of a right triangle, if the median drawn to its hypotenuse divides the right angle in the ratio 1:21:21:2.