#include int main() { std::string s; std::getline(std::cin, s); reverse(s.begin(),s.end());std::cout << s << "\n"; }