#include <bits/stdc++.h>
using namespace std;
long long x;
string s, ss = "aeiou", q;
int main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  ;
  cin >> s;
  if (s.size() < 3) {
    cout << s << endl;
    return 0;
  }
  q += s[0];
  q += s[1];
  for (int i = 2; i < s.size(); i++) {
    if (ss.find(s[i]) == -1 && ss.find(s[i - 1]) == -1 &&
        ss.find(s[i - 2]) == -1 &&
        (s[i] != s[i - 1] || s[i] != s[i - 2] || s[i - 1] != s[i - 2])) {
      cout << q << " ";
      q.clear();
      q += s[i];
      i++;
      if (i == s.size()) {
        cout << q << endl;
        return 0;
      }
    }
    q += s[i];
    if (i == s.size() - 1) {
      cout << q << endl;
      return 0;
    }
  }
  cout << endl;
  return 0;
}
