On Wednesday, a local hamburger shop sold a combined total of 339 hamburgers and cheeseburgers. The number of cheeseburgers sold was two times the number of hamburgers sold. How many hamburgers were sold?