Everybody in a room shakes hands with everybody else. The total number of handshakes is 45. The total number of persons in the room is