12 lines
135 B
Python
12 lines
135 B
Python
n,x=map(int,input().split())
|
|
a=list(map(int,input().split()))
|
|
r=[]
|
|
|
|
for i in a:
|
|
if i<x:
|
|
r.append(i)
|
|
|
|
for i in r:
|
|
print(i,end=" ")
|
|
|