// editor3
#include<stdio.h>
int main()
{
    int x,y,temp;
    scanf("%d", &x);
    scanf("%d", &y);
    scanf("%d\n",y);
    scanf("%d\n",x);
    x=y;
    y=temp;
    temp=y;
    return 0;
}