An airplane started at 0 feet. It rose 21,000 feet at takeoff. It then descended 4,329 feet because of clouds. An oncoming plane approaching, so it rose 6,333 feet. After the oncoming plane pass, it descended 8,453 feet, at what altitude was the plane flying?