s1=input()
for i in range(0,len(s1)):
    if s1[i]=='a' or s1[i]=='e' or s1[i]=='i' or s1[i]=='o' or s1[i]=='u' or s1[i]=='A' or s1[i]=='E' or s1[i]=='I' or s1[i]=='O'or s1[i]=='U':
       
           print("yes")
           break;
else:
    print("no")
