#include <bits/stdc++.h>
using namespace std;
int main() {
  int f;
  string s;
  bool he = false;
  cin >> s;
  for (f = 0; f < s.size(); f++) {
    if (he == false)
      cout << s[f];
    else
      he = false;
    if (f + 2 < s.size())
      if ((s[f] != 'a') && (s[f] != 'e') && (s[f] != 'i') && (s[f] != 'o') &&
          (s[f] != 'u')) {
        if ((s[f + 1] != 'a') && (s[f + 1] != 'e') && (s[f + 1] != 'i') &&
            (s[f + 1] != 'o') && (s[f + 1] != 'u')) {
          if ((s[f + 2] != 'a') && (s[f + 2] != 'e') && (s[f + 2] != 'i') &&
              (s[f + 2] != 'o') && (s[f + 2] != 'u')) {
            if ((s[f] != s[f + 1]) || (s[f] != s[f + 2]) ||
                (s[f + 1] != s[f + 2])) {
              cout << s[f + 1] << " " << s[f + 2];
              f = f + 1;
              he = true;
            }
          }
        }
      }
  }
  return 0;
}
