A restaurant served a total of 87 hamburgers and cheeseburgers today. If the restaurant served 24 cheeseburgers, how many hamburgers did it serve?