One guy a days ago wrote a post about problem. He wrote wrong statement so I was interested in real problem.
I can't do it by myself can someone help?
problem link-- https://codeforces.me/group/MWSDmqGsZm/contest/219158/problem/Z
There is no editorial :d so that is why I am asking.