def check(): N, X = map(int, input().split()) C = list(map(int, input().split())) if Xmax(C): return 'No' return 'Yes' print(check())