#include<stdio.h>
int main()
{
    int m,k,l;
    scanf("%d%d",&m,&k);
    l=m;
    m=k;
    k=l;
    printf("%d",m,k);
    
}