n, X, M = map(int, input().split()) A = list(map(int, input().split())) s = [] for a in A: if a < X: s.append(0) else: cnt = 0 current = a while current >= X: current //= 2 cnt += 1 s.append(cnt) # Adjust to non-increasing t = [0] * n if n == 0: print("Yes") exit() t[-1] = s[-1] for i in range(n-2, -1, -1): t[i] = max(s[i], t[i+1]) total = sum(t) if total <= M: print("Yes") else: print("No")