#include <bits/stdc++.h>
using namespace std;

int main() {
  int x, y, z;
  cin >> x >> y >> z;
  printf("%d %d %d", z, x, y);
  cout << endl;
  
  return 0;
}
#include <bits/stdc++.h>

#define INF 0x3f3f3f3f
#define EPS 1e-6
using namespace std;
typedef long long LL;
const int maxn = 1e5 + 10;

int T;

int main()
{
    int a, b, c;
    while(cin >> a >> b >> c){
        cout << c << " " << a << " " << b << endl;
    }
    return 0;
}
