#include using namespace std; string read(int n) { string str; cin >> str; if(n == 1) { return str + "\n"; } return read(n-1) + str + "\n"; } int main() { int n; cin >> n; if(n) { cout << read(n); } return 0; }