# Гласная буква
s = input().lower()
if s in 'аеёиоуыэюя':
    print('ДА')
else:
    print('НЕТ')
