#include using namespace std; int main(){ string s;cin>>s; for(int i = 0; s.size() > i; i++){ if(s[i] == '#'){ i++; while(s[i] == '#')cout << s[i++]; cout << endl; return 0; } } }