#include<bits/stdc++.h> using namespace std; int main(){ string s; char n; cin>>s>>n; int p=s.find(n); while(p!=-1){ s.erase(p,1); p=s.find(n); } cout<<s; return 0; } /************************************************************** Problem: 1131 User: xuanhua Language: C++ Result: Accepted Time:8 ms Memory:2076 kb ****************************************************************/