본문 바로가기

Programming [Python]/백준 알고리즘 솔루션

#28 백준 파이썬 [10871] X보다 작은 수

#28 백준[10871 X보다 작은 수


https://www.acmicpc.net/submit/10871




#Solution

a1, a2 = map(int, input().split())
b = list(map(int, input().split()))

for i in b:
if i < a2:
print(i, end=" ")