#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  vector<int> res;
  int cnt = 0;
  char c1, c2;
  for (int i = 0; s[i] != '\0'; i++) {
    if (s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' || s[i] == 'u')
      cnt = 0;
    else
      cnt++;
    if (cnt >= 3) {
      if (s[i] == c1 && c1 == c2)
        cnt--;
      else {
        res.push_back(i);
        cnt = 1;
      }
    }
    c1 = c2;
    c2 = s[i];
  }
  res.push_back(s.length());
  int st = 0;
  for (int i = 0; i < res.size(); i++) {
    cout << s.substr(st, res[i] - st) << " ";
    st = res[i];
  }
}
