Does anyone know if the 6th gear out of a 01e is compatible to 01a?

I'm trying to see if i can replace in a 6th gear from a 01e in place of a 5th from a 01a.