There are n people attending a certain banquet, and each person shakes hands with each other exactly once. If there are a total of 231 handshakes in this banquet, what is the value of n?
某次宴会共有n个人参加，每个人都与其它的人互相恰好握手一次．若在此宴会中总共握手231次，请问n的值为多少．
<result>22</result>