#include<stdio.h>
int main()
{
    int a,b,c,temp1,temp2;
    scanf("%d %d %d",&a,&b,&c);
    temp1=a;
    a=b;
    b=temp1;

    temp2=a;
    a=c;
    c=temp2;

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