Assuming the coin is not weighted and is a fair and standard coin - the chance of flipping head is 1/2. You can either flip head or tails, there are no other possible outcomes.
Ok so first you will need 3 bags since 12*2 is 24 that wont be enough for the whole class so 12*3= 36 so now that we figured out how many bags we need now we have to multiply $8.00 by three the answer is $24