N , K = map(int,input().split()) A = list(map(int,input().split())) c = 0 for i in A: if i < 30: c += 1 if c >= K: ans = "No" else: ans = "Yes" print(ans)