From an angle of depression of 50 degrees, John watches his friend approach his building while standing on his rooftop. The rooftop is 16 m from the ground and John's eyelevel is about 1.8m above the rooftop. What is the distance between John's friend and the building?