Deltix Round, Summer 2021 (Div.1 + Div.2)

Deltix Round, Summer 2021 (Div.1 + Div.2)

Problem - D - Codeforces

key inspection:

\[ a\ \mathrm{and}\ b + a\ \mathrm{\text or}\ b = a + b \]