#include <iostream> using namespace std; int main(){ cout<<123%10<<123%100/10<<123%1000/100; return 0; }