Problem:


Score : 100 points

Problem Statement

Given a lowercase English letter c, determine whether it is a vowel. Here, there are five vowels in the English alphabet: a, e, i, o and u.

Constraints

c is a lowercase English letter.

Input

The input is given from Standard Input in the following format:

c

Output

If c is a vowel, print vowel. Otherwise, print consonant.

Sample Input 1

a

Sample Output 1

vowel

Since a is a vowel, print vowel.

Sample Input 2

z

Sample Output 2

consonant

Sample Input 3

s

Sample Output 3

consonant



Sample input:
a


Sample output:
vowel

Submission status: Wrong Answer

Solution code:
import sys

read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7


def main():
    C = input()
    if C in ['a', 'i', 'u', 'e', 'o']:
        print('vouel')
    else:
        print('consonant')


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
c = input()

if c == "a" or "i" or "u" or "e" or "o":
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
word = input()
vowel_list = ['a', 'i', 'u', 'e', 'o']

if word in vowel_list:
    print('Vowel')
else:
    print('Consonant')

Submission status: Wrong Answer

Solution code:
c = str(input())

if c == 'a' or 'e' or 'i' or 'o' or 'u':
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
c = input()

if c == "a" or "e" or "i" or "o" or "u":
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
c = str, input()

if c == "a" or "e" or "i" or "o" or "u":
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
c=input()
li="aeiou"
if c in li:
    print("vowel")
else:
    print("counstant")

Submission status: Wrong Answer

Solution code:
c=input()
li=["a","e","i","u","o"]
if c in li:
    print("vowel")
else:
    print("counstant")

Submission status: Wrong Answer

Solution code:
c = str(input())

if c == 'a' and c == 'e' and c == 'i' and c == 'o' and c == 'u':
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
c = str(input())

if c == 'a' and c == 'e' and c == 'i' and c == 'o' and c == 'u':
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
c = input()
boin = 'aeiou'
if boin.find(c) == -1:
    print("consonant")
else:
    print("voel")

Submission status: Wrong Answer

Solution code:
c = str(input())
vowels = ['a','e','i','o','u']

if c in vowels:
    answer = "vowei"
else:
    answer = "consonant"

print(answer)

Submission status: Wrong Answer

Solution code:

c=input()

if c =="a"or"i"or"u"or"e"or"o":
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
a=input()
if a in ["a","b","c","d","e"]:
  print("vowel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
n = str(input())
if n == "a" or "i" or "u" or "e" or "o":
  print("vowel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
c=input()
if c=="a" or c=="b" or c=="c" or c=="d" or c=="e":
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
a = input()
vowel = set("abcde")
if a in vowel:
  print("vowel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:


import sys

PARTS = ["eraser", "erase", "dreamer", "dream"]


def main():
    sys.setrecursionlimit(5000)
    S = input()

    if judgeStr(S):
        print("YES")
    else:
        print("NO")


def judgeStr(target: str) -> bool:
    for item in PARTS:
        if target.startswith(item):
            tempStr = target.replace(item, "", 1)
            if tempStr == "" or judgeStr(tempStr):
                return True

    return False


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
c = input()
v = list('abcde')

if c in v:
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
s=input()
print(["vowel","consonant"][s=="a" or s=="i" or s=="u" or s=="e" or s=="o"])

Submission status: Wrong Answer

Solution code:
print(["consonant","vowel"][96<ord(input())<102])

Submission status: Wrong Answer

Solution code:
c=input()
a=["a","c","b","d","e"]
if c in a:
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
#英小文字 cが与えられるので、
#cが母音であるか判定してください。
#ここで、英小文字のうち母音は a、e、i、o、uの 5つです。

Submission status: Wrong Answer

Solution code:
c = input()
print("vowel" if c in "aiueo" else "constant")

Submission status: Wrong Answer

Solution code:
c = input()
if c == "a" or c == "e" or c == "i" or c == "o" or c == "u":
    print("vowel")
else:
    print("constant")

Submission status: Wrong Answer

Solution code:
c=input()
if c=='a' or 'e' or 'i' or 'o' or 'u':
  print('vowel')
else:
  print('consonant')

Submission status: Wrong Answer

Solution code:
c=input()
if c=="a"or c=="i" or c=="u" or c=="e" or c=="o":
    print("vowel")
    exit()
print("constant")

Submission status: Wrong Answer

Solution code:
c=input()
v="abcde"
print("vowel" if c in v else "consonant")

Submission status: Wrong Answer

Solution code:
I = input()
import re
# if re.match("^(a|i|u|e|o){1}$", I):
# if I in 'aiueo':
if 'aiueo'.find(I):
    print('vowel', flush=True)
else:
    print('consonant', flush=True)

Submission status: Wrong Answer

Solution code:
I = input()
import re
if re.match("(a|i|u|e|o)1", I):
    print('vowel', flush=True)
else:
    print('consonant', flush=True)

Submission status: Wrong Answer

Solution code:
S = input()
l = len (S)
S = S.replace('a','')
S = S.replace('i','')
S = S.replace('u','')
S = S.replace('e','')
S = S.replace('o','')
print (l-int (len(S)))

Submission status: Wrong Answer

Solution code:
c = input()

if c == 'a' or c == 'b' or c == 'c' or c == 'd' or c == 'e':
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
a = ['a','e','i','u','e']
if input() in a:
  print('vowel')
else:
  print('consonant')

Submission status: Wrong Answer

Solution code:
A=input()
if A=="a":
  print("vowel")
if A=="i":
  print("vowel")
if A=="u":
  print("vowel")
if A=="e":
  print("vowel")
if A=="o":
  print("vowel")
else :
  print("consonant")

Submission status: Wrong Answer

Solution code:
A=input()
if A=="a":
  print("vowel")
if A=="i":
  print("vowel")
if A=="u":
  print("vowel")
if A=="e":
  print("vowel")
if A=="o":
  print("vowel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
c = input()

if c == ("a" or "e" or "i" or "o" or "u"):
  print("vowel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
def actual(c):
    if c in list('aeiou'):
        return 'vowel'

    return 'constant'

c = input()
print(actual(c))

Submission status: Wrong Answer

Solution code:
s = input()
l = [chr(ord("a")+i) for i in range(5)]
print("vowel" if s in l else "consonant")

Submission status: Wrong Answer

Solution code:
c=input()
if c in ['a','e','i','o','u']:
  print('vowel')
else:
  print('constant')

Submission status: Wrong Answer

Solution code:
c = input()
if c == 'a'or c =='i'or c =='u' or c == 'e'or c == 'o':
    print('vowel')
else:
    print('constant')

Submission status: Wrong Answer

Solution code:
s = input()
if s == 'a' or 'i' or 'u' or 'e' or 'o':
  print('vowel')
else:
  print('consonant')

Submission status: Wrong Answer

Solution code:
l=input()

if l=='a' or 'e' or 'i' or 'o' or 'u':
  print('vowel')
else:
  print('consonant')

Submission status: Wrong Answer

Solution code:
import sys
sys.setrecursionlimit(1000000)

S = input()
U = ['dreamer', 'dream', 'eraser', 'erase']

answer = 'NO'


def possible(current):
    possible = []
    for string in U:
        if S.startswith(current + string):
            possible.append(string)
    return possible


def judge(current):
    if current == S:
        global answer
        answer = 'YES'
        return
    if answer == 'YES':
        return
    else:
        if possible(current) == []:
            return
        else:
            for candidate in possible(current):
                new = current + candidate
                if len(S) >= len(new):
                    judge(current + candidate)


judge('')

print(answer)

Submission status: Wrong Answer

Solution code:
c=input()
if c=='a' or 'i' or 'u' or 'e' or 'o':
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
c = input()
listc = ['a', 'e', 'i', 'o', 'u']
count = 0

for i in range(len(listc)):
    if c == listc[i]:
        count += 1

if count > 0:
    print('vowel')
else:
    print('constant')

Submission status: Wrong Answer

Solution code:
c = input()
vowel = ['a','i','u','e,','o']
if c in vowel:
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
c = input()
if 97 <= ord(c) <= 111:
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
c = input()
if 97 <= ord(c) and ord(c) <= 111:
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
c = input()
vowellist = ["a","i","u","e","o"]
for w in vowellist:
    if c == w:
        print("vowel")
        break
    else:
        print("consonant")
        break

Submission status: Wrong Answer

Solution code:
c = input()
vowellist = ["a","i","u","e","o"]
for w in vowellist:
    if c == w:
        print("vowel")
        break
    else:
        print("constant")
        break

Submission status: Wrong Answer

Solution code:
komoji = input()
if komoji in "aeiou" == True:
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
c = input()
vowel = ['a', 'e', 'i', 'o', 'u']

print('vowel') if c in vowel else print('constant')

Submission status: Wrong Answer

Solution code:

c=str(input())

if c=='a' or 'e' or 'i' or 'o' or 'u':
    print('vowel')

else:print('consonant')

Submission status: Wrong Answer

Solution code:
x = input()

if x == 'a' or 'i' or 'u' or 'e' or 'o':
    print("vowel")

else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
c = input()
if c in "a" or "e" or "i" or "o" or "u":
  print("vowel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
c = input()
if "a" or "e" or "i" or "o" or "u" in c:
  print("vowel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
c = input()
print('vowel' if 'aeiou' in c else 'consonant')

Submission status: Wrong Answer

Solution code:
A = ['a','i','u','e','o']
c = input()
if c in A:
    print("vowel")
else:
    print("consoant")

Submission status: Wrong Answer

Solution code:
S = input()
str_list = ['dream', 'erase', 'dreamer', 'eraser']
start = 0
success_flag = False
continue_flag = False


def reverse_str(var: str):
    return ''.join(list(reversed(var)))


reverse_S = reverse_str(S)
while True:
    for str_name in str_list:
        if reverse_S[start:start + len(str_name)] == reverse_str(str_name):
            if len(S) == start + len(str_name):
                success_flag = True
                break
            start += len(str_name)
            continue_flag = True
    if success_flag:
        print('YES')
        break
    if not continue_flag:
        print('NO')
        break
    else:
        continue_flag = False

Submission status: Wrong Answer

Solution code:
N = ['a','e','i','e','u']
if input() in N:
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
c = input()
if  'a' or 'e' or 'i' or 'o' or 'u' in c:
  print('vowel')
else:
  print('consonant')

Submission status: Wrong Answer

Solution code:
s=input()
t=['dream','dreamer','erase','eraser']
t=sorted(t,reverse=True)
a=0
for i in range(4):
  for j in range(4):
    if t[i]+t[j]==s: 
      a+=1
print("YES"if a>0 else "NO")

Submission status: Wrong Answer

Solution code:
c=input()
if c=='a' or  c=='i' or  c=='d' or  c=='e' or  c=='o' :
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
c=str(input())
if c in "aiueo":
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
S = input()
results = True
while results:
    for key_word in ("erase", "eraser", "dream", "dreamer"):
        if S.endswith(key_word):
            S = S[:-len(key_word)]
            continue
    if S == '':
        print("YES")
        results = False
        break
    else:
        print("NO")
        results = False
        break

Submission status: Wrong Answer

Solution code:
S = input()
results = True
while results:
    for key_word in ["erase", "eraser", "dream", "dreamer"]:
        if S.endswith(key_word):
            S = S[:-len(key_word)]
            continue
    if S == '':
        print("YES")
        results = False
        break
    else:
        print("NO")
        results = False
        break

Submission status: Wrong Answer

Solution code:
c = input()
if c in "abcde":
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
c = input()
if c in "abcde":
    print("vowel")
else:
    print("consonat")

Submission status: Wrong Answer

Solution code:
c = input()
if c in "abcde":
    print("vowel")
else:
    print("consoant")

Submission status: Wrong Answer

Solution code:
import re;
s = input();
print("YES" if re.fullmatch(r'^(dream|dreamer|eraser|erase)*$', s) else "NO")

Submission status: Wrong Answer

Solution code:
def extract_6(x):
	strtemp=' '
	if(len(x)>=6):
		temp=[0]*6
		for i in range(6):
			temp[i]=x[len(x)-6+i]
	else:
		temp='false'
	strtemp=''.join(temp)
	return(strtemp)

def extract_5(x):
	strtemp=' '
	if(len(x)>=5):
		temp=[0]*5
		for i in range(5):
			temp[i]=x[len(x)-5+i]
	else:
		temp='false'
	strtemp=''.join(temp)
	return(strtemp)
	
def extract_7(x):
	strtemp=' '
	if(len(x)>=7):
		temp=[0]*7
		for i in range(7):
			temp[i]=x[len(x)-7+i]
	else:
		temp='false'
	strtemp=''.join(temp)
	return(strtemp)

S=input()
flag=1
while(flag==1):
	if(extract_7(S)=='dreamer'):
		S=S[:-7]
	elif(extract_6(S)=='eraser'):
		S=S[:-6]
	elif(extract_5(S)=='dream'):
		S=S[:-5]
	elif(extract_5(S)=='erase'):
		S=S[:-5]
	else:
		flag=0
if len(S)!=0:
	print('NO')
else:
	print('YES')

Submission status: Wrong Answer

Solution code:
c = str(input())
l = ["a", "e", "i", "o", "u"]
if c in l:
    print("vowel")

else:
    print("constant")

Submission status: Wrong Answer

Solution code:
v=['a','i','u','e','o'];print('vowel' if 0!=v.count(input) else 'consonant')

Submission status: Wrong Answer

Solution code:
c = input()
li = ["a","b","c","d","e"]
if c in li:
    print('vowel')
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
if input()in "aeiou":
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
c = input()
if c == 'a' or c == 'i' or c == 'u' or c == 'e' or c == 'o':
  print("voel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
ps='aeiuo'
c=input()
for i in range(5):
  if c==ps[i]:
    print('vowel')
else:
  print('consonant')

Submission status: Wrong Answer

Solution code:
l = input()
if l == 'a' or 'i' or 'u' or 'e' or 'o':
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
c = input()
if c in "aeiou":
    print("vowel")
else:
    print("constant")

Submission status: Wrong Answer

Solution code:
def resolve():
	s = input()
	w = ['dream', 'dreamer', 'erase', 'eraser']
	h = dict()
	for i in range(len(w)):
		h[w[i][::-1]] = True
	s = s[::-1]
	c = ''
	for i in s:
		c += i
		if h.get(c):
			c = ''
	if not len(c):
		print('YES')
	else:
		print('NO')
resolve()

Submission status: Wrong Answer

Solution code:
s = input()
ok = ['a','i','u','e','o']
if s in ok:
  print("vowal")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
c = input()
for c in "aiueo":
  print("vowel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
c = str(input())
for c in "aiueo":
  print("vowel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
c  = input()

if c == 'a' or 'i' or 'u' or 'e' or 'o':
  print('vowel')
else:
  print('consonant')

Submission status: Wrong Answer

Solution code:
import sys
sys.setrecursionlimit(10**8) 
S = input()
T = ""

cand = ["dream", "dreamer", "erase", "eraser"]

def clean_string(s):
    if s == "" :
        print("YES")
        sys.exit()
    if not any([s.startswith(c) for c in cand]):
        return
    
    for c in cand:
        if s.startswith(c):
            s_next = s[len(c):]
            clean_string(s_next)

clean_string(S)
print("NO")

Submission status: Wrong Answer

Solution code:
c = input()

if "aiueo" in c:
    print("vowel")
else :
    print("consonant")

Submission status: Wrong Answer

Solution code:
c = input()

if c == "aiueo":
    print("vowel")
else :
    print("consonant")

Submission status: Wrong Answer

Solution code:
s = input()


def solve(query):
    if query == "":
        print("YES")
        exit()
    for frag in ("eraser", "erase", "dream", "dreamer"):
        if query.startswith(frag):
            solve(query[len(frag):])


solve(s)
print("NO")

Submission status: Wrong Answer

Solution code:
c = input()
if c == 'a' or 'i' or 'u' or 'e' or 'o':
  print('vowel')
else:
  print('consonant')

Submission status: Wrong Answer

Solution code:
def main():
    vowel = ["a", "e", "i", "o", "u"]
    c = input()
    if c in vowel:
        print("vowel")
    else:
        print("constant")
main()

Submission status: Wrong Answer

Solution code:
en=input()
print(en)
if en=="a"or en=="e" or en=="i"or en=="o"or en=="u":
  print("vowel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
en=input()
print(en)
if en=="a"or en=="e" or en=="i"or en=="o"or en=="u":
  print("vowel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
en=input()
print(en)
if en=="a"or"e"or"i"or"o"or"u":
  print("vowel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
A = input()

if A == "a"  or "e" or "i"or "o" or "u" : print("vowel")
else: print("consonant")

Submission status: Wrong Answer

Solution code:
S = input()
N = ['dream', 'dreamer', 'erase', 'eraser']

S = S[::-1]

t = []
i = 0
T = ''

if len(S) < 3:
    print('No')
else:
    while i<len(S):
        if S[i] == 'm' and S[i+1] == 'a' and S[i+2] == 'e':
            letter = 'dream'
            i += 4
        elif S[i] ==  'r' and S[i+1] == 'e' and S[i+2] == 'm':
            letter = 'dreamer'
            i += 5
        elif S[i] == 'e' and S[i+1] == 's' and S[i+2] == 'a':
            letter = 'erase'
            i += 4
        elif S[i] == 'r' and S[i+1] == 'e' and S[i+2] == 's':
            letter = 'eraser'
            i += 5
        else:
            break
        i += 1
        t.append(letter)

#print(t)

    for x in t[::-1]:
        T += x

#print(T)

    if S == T[::-1]:
        print('YES')
    else:
        print('NO')

Submission status: Wrong Answer

Solution code:
print(['vowel','consonant'][not input('c') in 'aeiou'])

Submission status: Wrong Answer

Solution code:
c = input()
if c == ('a' or 'e' or 'i' or 'o' or 'u'):
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
c = input()
if c == ('a' or 'b' or 'c' or 'd' or 'e'):
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
c = input()
v = ["a", "i", "u", "e", "o"]
if c in v:
    print("vowel")
else:
    print("constant")

Submission status: Wrong Answer

Solution code:
if input() == 'a' or 'i' or 'u' or 'e' or 'o':
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
c = raw_input()
if c == 'a' or 'e' or 'i' or 'e' or 'u':
    print "vowel"
else:
    print "consonant"

Submission status: Wrong Answer

Solution code:
x=input()
if x==("a" or "i" or "u" or "e" or "o"):
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
c = input()
if 'aiueo' in c:
    print('vowsel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
c = input()
if c in 'aiueo':
    print('vowsel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
S=input()
boin=["a","b","c","d","e"]
if S in boin:
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
v = ['a', 'i', 'u', 'e', 'o']
print('vowel' if input() in v else 'consonat')

Submission status: Wrong Answer

Solution code:
c=input()
print("vowel"if c in "aiueo" else "constant")

Submission status: Wrong Answer

Solution code:
a = input()
if ((a == "a") or (a == "b") or (a == "c") or (a == "d") or (a == "e")):
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
print('vowel' if input()==('a'or'e'or'i'or'o'or'u') else 'consonant')

Submission status: Wrong Answer

Solution code:
print('vowel' if (input()==('a'or'e'or'i'or'o'or'u')) else 'consonant')

Submission status: Wrong Answer

Solution code:
c=raw_input().split()
if c=="a,e,i,o,u":
  print "vowel"
else:
  print "consonant"

Submission status: Wrong Answer

Solution code:
c=raw_input()
if c=="a,e,i,o,u,y":
  print "vowel"
else:
  print "consonant"

Submission status: Wrong Answer

Solution code:
c=raw_input()
if c=="a,e,i,o,u":
  print "vowel"
else:
  print "consonant"

Submission status: Wrong Answer

Solution code:

l = ["a","b","c","d","e"]
c = input()

if c in l:
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
s=['a','i','o','u','e']
x=input()
falg=0
for i in s:
    if (i==x):
        falg=1
        break
if falg==0:
    print('consonant.')
else:
    print("vowel.")

Submission status: Wrong Answer

Solution code:
s=['a','i','o','u','e']
x=input()
falg=0
for i in s:
    if (i==x):
        falg=1
        break
if falg==0:
    print('consonant.g')
else:
    print("vowel.")

Submission status: Wrong Answer

Solution code:
c = input()
word = ['a', 'b', 'c', 'd', 'e']
if c in word:
  print("vowel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
a = input()
l = ["a","b","c","d","e"]
if a in l:
  print('vowel')
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
c = input()
li = ['a','e','i','o','u']
print('vowel' if li.count(c) != 0 else 'consonat')

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3


def main():
    c = input()
    # i = list(map(int,input().split()))
    # j = list(map(int,input().split()))
    if c == 'a' or c == 'e' or c == 'i' or c == 'o' or c == 'e':
        print('vowel')
    else:
        print('consonant')


main()

Submission status: Wrong Answer

Solution code:
n = input()
if 'n' in 'aiueo':
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
n = input()
List = ['aiueo']
if 'n' in List:
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
n = input()
List = ['a','i','u','e','o']
if 'n' in List:
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
s = input()

while(len(s)!=0):
    if s[-5:] == 'dream' or s[-5:] == 'erase':
        s = s[:-5]
    elif s[-6:]== 'eraser':
        s = s[:-6]
    elif s[-7:]=='dreamer':
        s = s[:-7]
    else:
        print('NO')
        break
else:
    print('YES')

Submission status: Wrong Answer

Solution code:
c=input()
if c == 'a' or 'e' or 'u' or 'i' or 'o':
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
a=["a","e","i","o","u"]
print("vowel" if input() in a else "constant")

Submission status: Wrong Answer

Solution code:
if input() in "aiueo".split():
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
a = str(input())
boin = ["a","e","i","o","u"]
if a in boin:
    print("voewl")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
S = input()
case =True
while(case == True):
    if len(S) <5:
        case = False
    
    elif S[0:5] == 'dream': #check 'dreamer' and 'dream'
        if len(S) > 6 and S[5] == 'e' and S[6] == 'r':
            S = S[7:]
        else:
            S = S[5:]

    elif S[0:5] == 'erase': #check 'erase' and 'eraser'
        if len(S) > 5 and S[5] == 'r':
            S = S[6:]
        else:
            S = S[5:]
    
    else:
        case =False

if len(S) == 0:
    print('YES')
else:
    print('NO')
#print(S)

Submission status: Wrong Answer

Solution code:
c=input()
if c==("a" or "i" or "u" or "e" or "o"):
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
def main(S):
    listdreamereraser = ['dreamer','eraser','dream','erase']
    while True:
        for i in listdreamereraser:
            if i == S[-len(i):]:
                S = S[:-len(i)]
                break
        else:
            return False
        if len(S) == 0:
            return True

S = input()
print('YES' if main(S) else 'NO')

Submission status: Wrong Answer

Solution code:
c = input()
if c == 'a' or 'i' or 'u' or 'e' or 'o':
    print('vowel')
else:
    print('consonant')

Submission status: Wrong Answer

Solution code:
c = str(input())
if c == "a" or "e" or "i" or "o" or "u":
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
S = input()
l = ['maerd','remaerd', 'esare', 'resare']

def test(S,l):
    tmpS = S
    while len(tmpS) > 0:
        if tmpS[::-1] in l:
            print('YES')
            return
        if tmpS[-1:-6:-1] in l:
            tmpS = tmpS[:-5]
        elif tmpS[-1:-7:-1] in l:
            tmpS = tmpS[:-6]
        else:
      	    print('NO')
      	    return
    print('YES')
    return
  
test(S,l)

Submission status: Wrong Answer

Solution code:
s=input().replace("eraser","").replace("erase","").replace("dreamer","").replace("dream","")
if s:
    print("NO")
else:
    print("YES")

Submission status: Wrong Answer

Solution code:
"""
author : halo2halo
date : 2, Feb, 2020
"""

import sys
import itertools

import numpy as np

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

S = readline().decode('utf8')
vowel = 'aiueo'

print('vowel' if S in vowel else 'consonant')

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-


def main():
    C = input()
    print('vowel' if C in ['a', 'e', 'i', 'o', 'o'] else 'consonant')


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
c=input()
a=["a","i","u","e","o"]
if c in a:
  print("vowel")
else:
  print("cosonant")

Submission status: Wrong Answer

Solution code:
c = input()

if c == "a" or c == "e" or c == "i" or c == "o" or c == "o":
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
c = input()
vowel = ['a','i','u','e','o']
if c in vowel:
  print('vowel')
else:
  ('consonant')

Submission status: Wrong Answer

Solution code:
s = input()
vowel = ['a','b','c','d','e']
if s in vowel:
  print('vowel')
else:
  print('constant')

Submission status: Wrong Answer

Solution code:
c = input()
p = "aeiou"
c = "i"
if c in p:
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
p = ["a", "e", "i", "o", "u"]
c = input()
if c in p:
    print("vowel")
else:
    print("consolant")

Submission status: Wrong Answer

Solution code:
p = "aeiou"
c = input()
if c in p:
    print("vowel")
else:
    print("consolant")

Submission status: Wrong Answer

Solution code:
S = input()
sc = ["eraser", "erase", "dreamer", "dream"]
for i in sc:
    S = S.replace(i, "")
if S:
    print("NO")
else:
    print("YES")

Submission status: Wrong Answer

Solution code:
c = str(input())
if "a" or "e" or "i" or "o" or "u" in c:
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
c = input()

if "c" == "a" or "c" == "e" or "c" == "i" or "c" == "o" or "c" == "u":
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
l=["a","b","c","d","e"]
if input() in l:
  print("vowel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
s=input().replace('eraser',"").replace('eraser',"").replace('erase',"").replace('dreamer',"").replace('dream',"")
if s:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
s = input()[::-1]
t =['maerd', 'remae', 'esare', 'resar']

if s[0:5] in t:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
S = input()

S = S.replace("eraser","")
S = S.replace("erase","")
S = S.replace("dreamer","")
S = S.replace("dream","")

if len(S) == 0:
    ans = "YES"
else:
    ans = "NO"

print(ans)

Submission status: Wrong Answer

Solution code:
s = input()
D = ['dream', 'dreamer']
E = ['erase', 'eraser']
T = ['', 'dream', 'dreamer', 'erase', 'eraser']

if s[0] == 'd':
    for d in D:
        for t in T:
            for k in T:
                if s == d+t+k:
                    print('YES')
                    exit()

if s[0] == 'e':
    for e in E:
        for t in T:
            for k in T:
                if s == e+t+k:
                    print('YES')
                    exit()

print('NO')

Submission status: Wrong Answer

Solution code:
c=str(input())
if c=="a"or"i"or"u"or"e"or"o":
  print("vowel")
else:
  print("consonant")

Submission status: Wrong Answer

Solution code:
c = str(input())
boin = ['a', 'b', 'c', 'd', 'e']
if c in boin:
    ans = 'vowel'
else:
    ans = 'consonant'
print(ans)

Submission status: Wrong Answer

Solution code:
# coding: utf-8

import sys

S = input()

i = 0
while i < len(S):
	if S[i : i + 5] == "dream":
		if S[i + 5 : i + 7] == "er":
			if S[i + 7 : i + 10] == "ase":
				if S[i + 10] == "r":
					i += 11
				else:
					i += 10
			else:
				i += 7
		else:
			i += 5
	else:
		if S[i : i + 5] == "erase":
			if S[i + 5] == "r":
				i += 6
			else:
				i += 5
		else:
			print("NO")
			sys.exit()

print("YES")

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
c = input()
v = ["a", "e", "i", "u", "o"]
if c in v:
    print("vowel")
else:
    print("consonant")

Submission status: Wrong Answer

Solution code:
S = input().replace("eraser","").replace("erase","").replace("dream","").replace("dreamer","")

if S:
    print("NO")
else:
    print("YES")

Submission status: Wrong Answer

Solution code:
print('vowel' if input() in ['aeiou'] else 'consonant')

Submission status: Wrong Answer

Solution code:
print('vowel' if input in ['aeiou'] else 'consonant')

Submission status: Wrong Answer

Solution code:
import sys
sys.setrecursionlimit(1000000)

S = input()

T = ['dream', 'dreamer', 'erase', 'eraser']
lenT = [len(i) for i in T]

def dayDream(pin):
    global isGoal               #;print('dayDream: ', pin, S[pin:])
    for i, d in enumerate(T):
        if isGoal:
            return
        #print('i, d:', i, d)
        if S[pin:pin+lenT[i]] == d:            
            pout = pin + lenT[i] #;print(d, pout)
            if pout == len(S):                
                isGoal = True    #;print('YES')
                return 
            else:
                dayDream(pout)
    #print('dayDream return', pin)
    return
    
isGoal = False
dayDream(0)
if isGoal:
    print('YES')
else:
    print('NO')