6.2. On the board, there are 5 integers. By adding them in pairs, the following set of 10 numbers was obtained: $3,8,9,16,17,17,18,22,23,31$. Determine which numbers are written on the board. In your answer, write their product.
Answer: 3360 (numbers on the board: $1,2,7,15,16$).