#include<stdio.h>
int main()
{
    int a, b, temp;
    scanf("%d", &a);
    scanf("%d", &b);
    temp=a;
    a=b;
    b=temp;
    printf("%d\n",a,b);
    return 0;
}