#include <bits/stdc++.h>
using namespace std;
string s;
string vowel = "euoia";
bool bad(char a, char b, char c) {
  if (a == '/') return false;
  if (b == '/') return false;
  if (c == '/') return false;
  for (long long i = 0; i < 5; i++) {
    if (a == vowel[i]) return false;
    if (b == vowel[i]) return false;
    if (c == vowel[i]) return false;
  }
  if (a == b && b == c && a == c) return false;
  return true;
}
int main() {
  cin >> s;
  if (s.size() < 3) {
    cout << s;
    return 0;
  }
  cout << s[0] << s[1];
  long long i;
  char one, two, three;
  two = s[1];
  three = s[0];
  for (i = 2; i < s.size(); i++) {
    one = s[i];
    if (bad(one, two, three)) {
      cout << ' ';
      cout << one;
      two = one;
      three = '/';
    } else {
      cout << one;
      three = two;
      two = one;
    }
  }
  return 0;
}
