본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 17094번 Serious Problem

by 현장 2022. 10. 18.

-Code

n = int(input())
s = input()
e = s.count('e')
two = s.count('2')
if e > two:
    print('e')
elif e < two:
    print(2)
else:
    print("yee")