#include #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string s;cin>>s; bool f=false; for(char c:s) { if(c=='#')f=!f; else if(f)cout<