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

[백준/파이썬] 30979번 유치원생 파댕이 돌보기

by 현장 2023. 12. 19.

-Code

t = int(input())
n = int(input())
f_list = list(map(int, input().split()))

print("Padaeng_i Happy" if sum(f_list) >= t else "Padaeng_i Cry")