n,x=map(int,input().split()) c=list(map(int,input().split())) pl=0 mi=0 ona=0 for a in c: if a>x: pl+=1 elif a0 and mi>0) or ona>0 else "No")