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