#include using namespace std; int main() { bool E=0; string S; cin>>S; for(auto s:S){ if(s=='#')E=!E; else if(E)cout<