#include<bits/stdc++.h>
using namespace  std;
int main() {
    ios::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
    int x,y,z;
    while(cin>>x>>y>>z)
    {
        cout<<z<<' '<<x<<' '<<y<<' '<<endl;
    }
    return 0;
}

#include <iostream>
#include <vector>

using namespace std;

void abc_160a();

void abc_161a();

int main()
{
  //abc_160a();
  abc_161a();

}

void abc_160a()
{
  string S;
  cin >> S;

  if (S[2] == S[3] && S[4] == S[5]) cout << "Yes\n";
  else cout << "No\n";
}

void swap(int& a, int& b)
{
  int tmp;
  tmp = a;
  a = b;
  b = tmp;
}

void abc_161a()
{
  int x, y, z;
  cin >> x >> y >> z;

  swap(x, y);
  swap(x, z);

  cout << x << " " << y << " " << z << "\n";
}
