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

[백준/파이썬] 29986번 Amusement Park Adventure

by 현장 2023. 11. 22.

-Code

n, h = map(int, input().split())
cnt = 0

for a in list(map(int, input().split())):
    if a <= h:
        cnt += 1

print(cnt)