Mario is buying a number of hamburgers from the local store that cost $2.90 each. He is also buying one packet of hamburger rolls at a cost of $4.75. He has $39.55 to spend at the store. Write and solve an inequality that shows how many hamburgers, Mario can afford to buy.