Youre lucky they replied you, hope they have given you the 2fa and youre now able to log back into your account. Next time you should try to write it down, maybe on a shit of paper and keep it somewhere safe so that you wouldnt lose it in case. If its not going to be safe on a sheet of paper you can save it on Keep mobile Note or any of those you get on your phone like Microsoft note and such and backed up, in case you need it later you can take it from there.