#include <iostream>
using namespace std;
int change(int &a,int &b,int &c)
{
int A;
A = a;
a = b;
b = c;
c = A;
}
int main()
{
int a,b,c;
cin>>a>>b>>c;
change(a,b,c);
cout<<a<<" "<<b<<" "<<c;
return 0;
}