Rookie mistake

It's great you caught you mistake, congrats!!!!! Gonna ask the question of why do you think you need to buy new head gaskets? If they are not torn, or other wise damaged, they haven't gone thru a thermal cycle, I'd bolt them back down and go!