A fast food restaurant sold 35 burgers with cheese. If the ratio of burgers sold with cheese compared to without cheese was 7 : 3, how many burgers did they sell total?