Maria is planning to buy some cupcakes for her birthday party. Each cupcake costs $3. If she wants to buy a total of $x$ cupcakes, she spends $15 less than $60 on them. How many cupcakes does she plan to buy?