#include <iostream>
#include <cstring>
using namespace std;
void reverseStr(char* ch) {
if(ch==NULL) return;
reverseStr( strtok( NULL , " " ) );
cout << ch << " ";
}
int main() {
char str[] = "how are you";
reverseStr( strtok( str , " " ) );
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0cmluZz4KIAp1c2luZyBuYW1lc3BhY2Ugc3RkOwogCnZvaWQgcmV2ZXJzZVN0cihjaGFyKiBjaCkgewogCiAgICBpZihjaD09TlVMTCkgcmV0dXJuOwogICAgCiAgICByZXZlcnNlU3RyKCBzdHJ0b2soIE5VTEwgLCAiICIgKSApOwogICAgY291dCA8PCBjaCA8PCAiICI7Cn0KIAppbnQgbWFpbigpIHsKIAogICAgY2hhciBzdHJbXSA9ICJob3cgYXJlIHlvdSI7CiAgICByZXZlcnNlU3RyKCBzdHJ0b2soIHN0ciAsICIgIiApICk7CiAgICAKICAgIHJldHVybiAwOwp9