#include<stdio.h>
#define rep(i,n) for(int i = 0 ; i < int(n) ; i++)
int main(){
    int x,y,z;
    scanf("%d %d %d",&x,&y,&z);
    int a = x,b = y,c = z;
    int temp;

    temp = a;
    a = b;
    b = temp;
    
    temp = a;
    a = c;
    c = temp;

    printf("%d %d %d\n",a,b,c);
}