I need a hint
Can anyone give me a hint to solve this problem https://codeforces.com/contest/1152/problem/C please? Thank you