and consequently some of the very best students were had excellent memories
Because of that, the students with excellent memories were some of the best students.
The best students were the ones that couldn't remember anything at all.