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