N, *D, = [list(map(int, s.split())) for s in open(0)]

D = D[0]

num = 0

for i in range(N[0]):

    if D[i] >= N[1]:

        num += 1

        

print(num)
def main():

    N, k = list(map(int, input().split()))

    M = list(map(int, input().split()))

    num = 0

    for m in M:

        if m >= k:

            num += 1

    print(num)





if __name__ == "__main__":

    main()

(
    N,
    *D,
) = [list(map(int, s.split())) for s in open(0)]
D = D[0]
num = 0
for i in range(N[0]):
    if D[i] >= N[1]:
        num += 1
print(num)

def main():
    N, k = list(map(int, input().split()))
    M = list(map(int, input().split()))
    num = 0
    for m in M:
        if m >= k:
            num += 1
    print(num)


if __name__ == "__main__":
    main()

-( -    N, -    *D, -) = [list(map(int, s.split())) for s in open(0)] -D = D[0] -num = 0 -for i in range(N[0]): -    if D[i] >= N[1]: -        num += 1 -print(num) +def main(): +    N, k = list(map(int, input().split())) +    M = list(map(int, input().split())) +    num = 0 +    for m in M: +        if m >= k: +            num += 1 +    print(num) + + +if __name__ == "__main__": +    main()