본문 바로가기
Programming Practice/Python

백준 10886 파이썬 0=not cute / 1=cute

by TAMIK 2023. 9. 4.
728x90

#B10886
n = int(input())
cnt = 0
for i in range(n):
    v = int(input())
    if v == 1 :
        cnt+=1
    else:
        cnt-=1
if cnt > 0:
    print("Junhee is cute!")
else:
    print("Junhee is not cute!")
728x90