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