#include<iostream>
using namespace std;
int main() {
// Initialize array of 5 letters
char letters[10];
// Receive 10 letters from user
cout << "Enter 10 letters: ";
for(int i=0; i<10; i++)
cin >> letters[i];
// Print letters in reverse order
for(int i=9; i>=0; i--)
cout << letters[i];
// Print new line at end
cout << endl;
return 0;
}