fork download
  1. #include <iostream>
  2. #include <string>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. string s;
  9. getline(cin, s);
  10.  
  11. string res;
  12.  
  13. for (char c : s)
  14. if (c != 'e' && c != 'a' && c != 'i' && c != '0')
  15. res.push_back(c);
  16.  
  17.  
  18. cout << res << '\n';
  19.  
  20. return 0;
  21.  
  22. }
  23.  
  24.  
Success #stdin #stdout 0s 4400KB
stdin
ae tjcvi
stdout
 tjcv