#!/usr/bin/env python

text = (raw_input(""))

vowels = ''.join([ch for ch in text if ch in 'aeiou'])
unvoweled = text.translate(None, 'aeiou ')

print (unvoweled)
print (vowels)





9ff86ba6f35195c799aa233a98952ed6881652b1
<mask token>

<mask token>
print(unvoweled)
print(vowels)

text = raw_input('')
vowels = ''.join([ch for ch in text if ch in 'aeiou'])
unvoweled = text.translate(None, 'aeiou ')
print(unvoweled)
print(vowels)

#!/usr/bin/env python

text = (raw_input(""))

vowels = ''.join([ch for ch in text if ch in 'aeiou'])
unvoweled = text.translate(None, 'aeiou ')

print (unvoweled)
print (vowels)




