N, K = map(int, input().split()) A = sorted(map(int, input().split()), reverse=True) print("Yes" if all(a >= 30 for a in A[:K]) else "No")