#include <iostream> #include <algorithm> #include <sstream> using namespace std; int main() { string a, b, out; int i = 0; getline(cin, a); istringstream str(a); while (str >> b) { out = b + out; out = ' ' + out; } out.erase(0, out...