https://codeforces.com/contest/764/submission/67071029