#include <iostream> using namespace std; int main() { int a; cin >> a; int n1, n2, n3; n1 = a % 10; n2 =a/10%10; n3 = a / 100; cout << n1 << n2 << n3; }