Codeforces Round 1106 (Div. 2) || Problem A. Another Puzzle from Papyrus || 2238A || C++

In this video I have tried to explain solution of CP problem in easiest manner CODE LINK- https://pastebin.com/hKXYXDWX read code in "void solve()" and ignore the rest