#46726: 答案 (python)


Morrischen (morris)


a,b = input().split()
print(f"{a} and {b} sitting in the tree")