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