https://codeforces.com/contest/2162
A. Beautiful Average
B. Beautiful String
C. Beautiful XOR
D. Beautiful Permutation