1st prize can be distributed to any of 30 students=30 ways
2nd .....................................................................=30 ways
3rd.......................................................................=30 ways
4th.......................................................................=30 ways
5th.......................................................................=30 ways
total = 30*30*30*30*30=24300000 ways