#24570: python 一行解


hsugoya@gmail.com (Мигает cf4?)


print(f'{input()} and {input()} sitting in the tree')