Video solution in C++, Python and Java: https://youtu.be/Og_68xJODPc
1 Like
print(“3”,flush=True)
y=int(input())
print(3-y,flush=True)``
python 3.3 and higher
print(“3”,flush=True)
y=int(input())
print(3-y,flush=True)``
python 3.3 and higher