본문 바로가기
알고리즘/백준

백준-10886번(0 = not cute / 1 = cute)-python3

by nyeongha 2023. 11. 30.
a=0
b=0
for x in range(int(input())):
    if input()=='1':
        a+=1
    else:
        b+=1
print('Junhee is cute!' if a>b else 'Junhee is not cute!')