A local hamburger shop sold a combined total of 500 hamburgers and cheeseburgers on Thursday. There were 50 more cheeseburgers sold than hamburgers. How many hamburgers were sold on Thursday?