#include using namespace std; typedef long long ll; typedef string str; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); str s; cin >> s; bool check = false; str p = ""; for (ll i = 0; i < s.size(); i++) { if (s[i] == '#' && check == true) break; if (s[i] == '#' && check == false) check = true; if (check) p += s[i]; } p.erase(0, 1); cout << p; return 0; }