#include using namespace std; #ifdef local #include "debug.hpp" #else #define debug(...) ; #endif int main(void) { ios::sync_with_stdio(false); cin.tie(nullptr); constexpr char endl = '\n'; string s; cin >> s; const int n = (int)s.size(); int cnt = 0; for (int i = 0; i < n; i++) { if (cnt == 1 && s[i] != '#') cout << s[i]; if (s[i] == '#') cnt++; } cout << endl; return 0; }