https://codeforces.comml/contest/1580/submission/130368106↵
↵
The main idea is to choose the most optimal one number in every step.↵
↵
![QAQ](UPD: To avoid unnecessary inconvenience, if you want to see a cute comic, click [here](https://codeforces.ml/predownloaded/ac/34/ac3459fbf10ba44abb93a83a887cf7a3fe11f818.jpg)↵
, and please try to solve my problem.
↵
The main idea is to choose the most optimal one number in every step.↵
↵
, and please try to solve my problem.