At the coffee shop, the ratio of cups of coffee sold to muffins was 2:7. If the shop sold 84 muffins, how many cups of coffee did the shop sell?