from collections import defaultdict N,Q=map(int,input().split()) X=[int(input()) for _ in range(N)] A=defaultdict(int) st=set() for x in X: st.add(x) if len(st)+N>Q: exit(print("No")) print("Yes") cnt=0 i=0 while i