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