https://mirror.codeforces.com/problemset/problem/1738/C
Hi guys,i was upsolving this round and could not figure out how to solve this.I went for the editorials but still could not figure out why they are using mod 4 not some other number.can someone please guide me with the intution behind this problem?