#31300: answer


Examination (Test)


x,y=input().split()
print(x+" and "+y+" sitting in the tree ")