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

int main(void){
    int x, y, z;
    cin >> x >> y >> z;
    cout << z << " " << x << " " << y << endl;
    return 0;
}

#include <iostream>
#include <string>

int main() 
{
    int A, B, C;
    std::cin >> A; std::cin >> B; std::cin >> C;
    std::cout << std::to_string(C) + " " + std::to_string(A) + " " + std::to_string(B) << std::endl;
}