#35744: You Cannot Pass?!


108081a1@gm.chihlee.edu.tw (何姿儀)

School : No School
ID : 235404
IP address : [140.131.84.202]
Last Login :
2023-06-15 15:42:19
a148. You Cannot Pass?! | From: [140.131.84.80] | Post Date : 2023-06-15 14:07

while True:
    try:
        numbers = input().split() # 讀到EOF會error
    except:
        break
 
    n = int(numbers[0])
    
    total = 0 # 初始值
    for grade in numbers[1:]:
        total += int(grade)
    
    average = total / n
    
    if average > 59:
        print('no')
    else:
        print('yes')
 
ZeroJudge Forum