Go in one ear and out the other

To hear something but then quickly forget it.

Everything that the teacher says goes in one ear and out the other for my friend.