A restaurant sold hamburgers and hotdogs. The number of hamburgers sold was 4 more than twice the number of hotdogs. Altogether, the restaurant sold 301 hamburgers and hotdogs. How many of each did they sell?