#include #include <string.h> using namespace std;
int main() { int condicao;
#include <iostream>
#include <string.h>
using namespace std;
int main() {
int condicao;
cin >> condicao; //Determina o tamanho do vetor //
while(condicao != 0){
char nome[100];
for(int iniciar = 0;iniciar < condicao;iniciar++){
cin >> nome[iniciar];
}
for (int i = condicao - 1; i >= 0; i--) {
cout << nome[i];
}
cout << endl;
cin >> condicao;
}
return 0;
}
}