There are 30 students in a class.
A teacher is going to choose one student to be the class monitor and a different student to be the library helper.
How many different ways are there of doing this?