
# NoVowels.py  reads a line of text and extracts all the vowels from it.
# Input:  a single line of lower-case words, separated by spaces
#       (no punctuation is used)
# Output:  the line of text without the vowels, and
#        spaces are preserved in both output lines
# Example: for the input text,    this is a line of text
#        the output is:  ths s  ln f txt

# IMPORTANT: in English,  a, e, i, o, u  are always vowels.
#   y  is sometimes a vowel and sometimes not, 
#   but we will pretend that it is always a consonant.

text = raw_input("Please type a line of text (no punctuation): ")

vowels = "aeiou"
answer = ""

count = 0
while count != len(text) :
    # assert: all non-vowels in  text[0]..upto..text[count-1]
    #         are saved in the  answer

    letter = text[count]
    if not(letter in vowels) :
        answer = answer + letter
    count = count + 1

# assert: all of  text[0]..upto..text[len-1] were examined, hence
#   answer  has  text's  contents,  less the vowels


print answer

raw_input("Press Enter to quit")
