Once upon a time, a king called for his 7 wisest men to be assembled in a room, with no one but them. All 7 men came in and shook their hands once with each of them.

How many total handshakes were there?

21