Jessica originally thought she had 69 quarters but realized she made a mistake and actually only had 39 quarters. After using 18 quarters for her school's snack machine, how many quarters does Jessica now have remaining in her piggy bank?