30 former classmates gathered to celebrate the anniversary of their school graduation. Each of them greeted and shook hands with every other without any exceptions how many handshakes were exchanged when everyone was finished?
Note: When person A shakes with person B, person B is also shaking with person A. It is counted as one handshake.