vector<string> strs(105); void solve() { int n = 1; while (cin >> strs[n]) { n++; } while (n--) { cout << strs[n] << ' '; } }