728x90
반응형
SMALL
n,a= int(input()),list(map(int,input().split()))
count= 0
for i in range(n):
if a[i] % 2 == 0:
count += 1
print("Happy" if count > n/2 else "Sad")
728x90
반응형
LIST
'백준문제 > 브론즈 5' 카테고리의 다른 글
백준) 29699번 - python (0) | 2024.03.06 |
---|---|
백준) 28938번 - python (0) | 2024.03.05 |
백준) 28927번 - python (0) | 2024.03.03 |
백준) 28701번 - python (0) | 2024.03.02 |
백준) 25314번 - python (1) | 2024.03.01 |