Problem

Source: Indonesia RMO 2022, Essay No 5 (Modified from Mathematical Excalibur 510)

Tags: Indonesia, RMO, 2022, mathematical, excalibur, combinatorics



Numbers $1$ to $22$ are written on a board. A "move" is a procedure of picking two numbers $a,b$ on the board such that $b \geq a+2$, then erasing $a$ and $b$ to be replaced with $a+1$ and $b-1$. Determine the maximum possible number of moves that can be done on the board.