Could someone check my work?

A 200-foot cliff drops vertically into the ocean. The angle of elevation from a ship to the top of the cliff is 22.3 degrees. How far offshore, to the nearest foot, is the ship?

Tan(22.3) = 200ft/x
xtan(22.3)=200ft
x=200/tan(22.3)
x=487.65

Answer: 488 feet

2 answers

agree
Wrong answer but here’s the right one. (* is multiplication)
tan= o/a

tan 22.3= x/200
200 * tan 22.3 = 82.026 = 82