文件目录

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

int main()
{
    int a;
    cin >> a;
    int b = a / 100;
    int g = a % 10;
    int s = a / 10 % 10;
    cout << g;
    cout << s << b;
    return 0;
}