The temperature rises 22 degrees from 5 am to noon. The temperature drops 18 degrees from noon to 7 pm. The temperature drops another 6 degrees between 7 pm and 5 am . If the temperature at 5 am on the next morning is 63° F, what was the temperature at 5 am on the first morning?