#include <bits/stdc++.h>
using namespace std;
auto clk = clock();
bool check(char c) {
  if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') return false;
  return true;
}
void solve() {
  string s;
  cin >> s;
  long long n = s.size();
  string t = "";
  vector<string> v;
  for (long long i = 0; i < n - 2; i++) {
    if (check(s[i]) && check(s[i + 1]) && check(s[i + 2]) &&
        (s[i] != s[i + 1] || s[i + 1] != s[i + 2])) {
      t = t + s[i];
      t = t + s[i + 1];
      v.push_back(t);
      t = "";
      i++;
    } else {
      t = t + s[i];
    }
  }
  long long cnt = t.size();
  for (long long i = 0; i < v.size(); i++) cnt += v[i].size();
  if (n - cnt == 1) {
    t += s[n - 1];
  } else if (n - cnt == 2) {
    t = t + s[n - 2];
    t = t + s[n - 1];
  }
  v.push_back(t);
  for (auto i : v) cout << i << " ";
  cout << "\n";
  ;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  cout << fixed << setprecision(8);
  long long t = 1;
  while (t--) solve();
  return 0;
}
