Division DIVEO

Chef has an integer $N$. He repeats the following operation until $N$ becomes $1$.

Can you find the maximum points Chef can get if he performs the operations optimally?