https://codeforces.com/blog/entry/48417 15. xor-, and-, or-convolutions
https://codeforces.com/blog/entry/48417
15. xor-, and-, or-convolutions