https://codeforces.me/contest/1791/problem/G2
check how individual calculation made the solution (from tutorial) // how it got handled
https://codeforces.me/contest/1791/problem/G2
check how individual calculation made the solution (from tutorial) // how it got handled