Betty had 40$ in her pocket. She bought 12 identical bags of popcorn. Betty was left with 10$ after buying the popcorn. What was the price, in dollars, of each bag of popcorn?


A) 0.55
B) 2.50
C) 4.17
D) 5.20