n , x = map(int,input().split()) c = list(map(int,input().split())) ans = 'No' for i in range(n): now = c[i] if now >= x: ans ='Yes' print(ans)