백준 10757, 10871
#10747 m, n = map(int, input().split()) print(m+n) N,X = map(int,input().split()) list_N = list(map(int,input().split())) list_a = [] for i in range(N): if (list_N[i] < X): list_a.append(list_N[i]) for i in list_a: print(i , end =" ", sep=" ")