#include <iostream> using namespace std; int main() { char a[100]; char b; int n=0; while (cin>>b) { a[n]=b; n++; } for (int i=n-1;i>=0;i--) { cout<<a[i]; } }
#include <iostream> using namespace std; int main() { char a[100]; char b; int n=0; while (cin>>b) { a[n]=b; n++; } for (int i=n-1;i>=0;i--) { cout<<a[i]; } }