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

int main() {
  string x, y, z;
  cin >> x >> y >> z;
  cout << z+" "+x+" "+y << endl;
}

#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include <algorithm>
#include <numeric>
#include <random>
#include <vector>
#include <array>
#include <bitset>
#include <queue>
#include <set>
#include <unordered_set>
#include <map>
#include <unordered_map>
 
using namespace std;
using uint = unsigned int;
using ll = long long;
using ull = unsigned long long;

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