Triangle H N K is shown. Angle H N K is 90 degrees. The length of hypotenuse H K is n, the length of H N is 20, and the length of N K is 9.
Law of cosines: a2 = b2 + c2 – 2bccos(A)

What is the value of n to the nearest whole number?

18
22
29
41