n, x = map(int, input().split(" ")) arr = list(map(int, input().split(" "))) for i in range(n): if arr[i] < x : print(arr[i], end=" ")