백준 13587번: huaauhahhuahau #Python

ColorlessDia·2024년 11월 25일

algorithm/baekjoon

목록 보기
372/836
S = input()

vowels = [s for s in S if s in ['a', 'e', 'i', 'o', 'u']]

if ''.join(vowels) == ''.join(vowels[::-1]):
    print('S')
else:
    print('N')

0개의 댓글