Mary baked 21 cookies on saturday and twice that many on sunday for a school fundraiser. 4 cookies fell on the ground and had to be thrown out. if she packaged 3 cookies to a bag, how many cookies were left over?