N,M,X = map(int,input().split()) A = list(map(int,input().split())) cnt = 0 for i in reversed(range(N)): a = A[i] i+=1 while a>>cnt >= X and M>=0: cnt+=1 M-=i if M<0: print('No') exit() print('Yes')