fork(3) download
  1. import re,random
  2. def f(s):r='[aeiou]';a=re.findall(r,s);random.shuffle(a);return re.sub(r,lambda m:a.pop(),s)
  3.  
  4. print(f(input()))
Success #stdin #stdout 0.01s 12760KB
stdin
aeiou
stdout
uoiae