#include #include // #include // #include using namespace std; using namespace atcoder; // using namespace __gnu_pbds; using ll=long long; #define int ll using ld = long double; #define _overload3(_1,_2,_3,name,...) name #define _rep(i,n) repi(i,0,n) #define repi(i,a,b) for(int i=int(a);i=int(0);--i) #define fore(i,a) for(auto &i:a) #define all(x) x.begin(),x.end() #define sz(x) ((int)(x).size()) #define bp(x) (__builtin_popcount((long long)(x))) #define pb push_back #define eb emplace_back #define mpa make_pair #define bit(n) (1LL<<(n)) template using V = vector; template using VV = V>; template using max_heap = priority_queue; template using min_heap = priority_queue, greater<>>; #define P pair #define TP tuple #define F first #define S second templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b>n>>x>>m; V a(n); rep(i,n)cin>>a[i]; int now=0; ll mp=0; rrep(i,n){ rep(j,now)a[i]/=2; while(x<=a[i]){ now++; mp+=i+1; a[i]/=2; } } if(mp<=m){ cout<<"Yes"<