You can’t ‘steal something’ from a trash can.
If they threw it away, it is fair game.
However, it is unlikely that it was really thrown away. Someone gave it to those students.
Secondly, client-lawyer confidentiality may be an issue here.