#include <iostream>
#include <string> --------->用字串
using namespace std;
int main(){
string a,b;
cin>>a>>b;
cout<<a+" and "+b+" sitting in the tree"<<endl;
}