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

[백준/파이썬] 30792번 gahui and sousenkyo 2

by 현장 2024. 1. 2.

-Code

n = int(input())
want_char = int(input())
all_char = list(map(int, input().split()))
res = 1
for char in all_char:
    if want_char <= char:
        res += 1

print(res)