N,X,M = map(int, input().split()) A = list(map(int, input().split())) B = [0] * N for i,a in enumerate(A): j = 0 while a >= X: a //= 2 j += 1 B[i] = j ans = 0 t = 0 for i in reversed(range(N)): if B[i] > t: ans += (i+1) * (B[i] - t) t = B[i] if ans <= M: print("Yes") else: print("No") print(ans)