- I met this problem as a subproblem many times and tried to find a solution for it but failed ,So I make an elegent statement for the problem asking for someone's help :↵
- ![ ](https://mirror.codeforces.com/778eb3/prib.PNG/predownloaded/53/7b/537bd49a986dfd3456199c1ded2f8f540d968065.png)↵
- ![ ](/predownloaded/49/fe/49fef52a451bb3fda273a1a3816bd77a8cce755e.png)↵
↵
- ![ ](
- ![ ](/predownloaded/49/fe/49fef52a451bb3fda273a1a3816bd77a8cce755e.png)↵
↵