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