#include <stdio.h>
int main() { char a[1024], b[1024]; scanf("%s %s",a,b); printf("%s and %s sitting in the tree",a,b); return 0;}