#include<stdio.h>

void swap(int* n1,int* n2);

int main()
{
    int a,b,c;
    scanf("%d %d %d",&a,&b,&c);
    swap(&a,&b);
    swap(&a,&c);
    printf("%d %d %d",a,b,c);
}

void swap(int* n1,int* n2)
{
    int temp;
    temp = *n1;
    *n1 = *n2;
    *n2 = temp;
}
