#include<bits/stdc++.h>
using namespace std;
int main()
{
    int a,b,c,mid=0;
    cin>>a>>b>>c;
    mid=a;
    a=b;
    b=mid;
    mid=b;
    b=c;
    c=mid;
    mid=a;
    a=b;
    b=mid;
    cout<<a<<" "<<b<<" "<<c;
    return 0;
}