Language: C++

#include <bits/stdc++.h>
#include <math.h>
using namespace std;

typedef long long ll;
typedef vector<ll> vi;
typedef pair<ll,ll> ii;

#define pb push_back
#define mp make_pair#include <bits/stdc++.h>
#include <math.h>
using namespace std;

typedef long long ll;
typedef vector<ll> vi;
typedef pair<ll,ll> ii;

#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define sz(vs) (ll)(vs.size())
#define rep(i,a,b) for (ll i=a;i<b;++i)
#define rep_(i,a,b) for (ll i=a;i>b;--i)
#define iter(i,c) for (auto i:c)
#define endl '\n'
const ll mod = 1e9 + 7;

const ll maxn = 1e5;

ll a, b, c, k;

void solve() {
	cin>>a>>b>>c>>k;
	while (b<=a) {b<<=1;--k;}
	while (c<=b) {c<<=1;--k;}
	if (k<0) cout<<"No";
	else cout<<"Yes";
}

void aux() {
}

int main() {
	ios_base::sync_with_stdio(false); cin.tie(NULL);
	cout<<fixed<<setprecision(10);
	aux();
	ll _ = 1;
	// cin>>_;
	while(_--) {
		solve();
	}
	return 0;
}
#define ff first
#define ss second
#define sz(vs) (ll)(vs.size())
#define rep(i,a,b) for (ll i=a;i<b;++i)
#define rep_(i,a,b) for (ll i=a;i>b;--i)
#define iter(i,c) for (auto i:c)
#define endl '\n'
const ll mod = 1e9 + 7;

const ll maxn = 1e5;

ll n, m;
ll a[maxn];
vi g[maxn];
string s;
char c;

void solve() {
	cin>>n;
	
	if (n<600) {cout<<8;return;}
	if (n<800) {cout<<7;return;}
	if (n<1000) {cout<<6;return;}
	if (n<1200) {cout<<5;return;}
	if (n<1400) {cout<<4;return;}
	if (n<1600) {cout<<3;return;}
	if (n<1800) {cout<<2;return;}
	if (n<2000) {cout<<1;return;}
}

void aux() {
}

int main() {
	ios_base::sync_with_stdio(false); cin.tie(NULL);
	cout<<fixed<<setprecision(10);
	aux();
	ll _ = 1;
	// cin>>_;
	while(_--) {
		solve();
	}
	return 0;
}

Compiler output:
a.cc:19:9: warning: "mp" redefined
   19 | #define mp make_pair
      |         ^~
a.cc:10:9: note: this is the location of the previous definition
   10 | #define mp make_pair#include <bits/stdc++.h>
      |         ^~
a.cc:62:10: error: redefinition of 'const ll mod'
   62 | const ll mod = 1e9 + 7;
      |          ^~~
a.cc:27:10: note: 'const ll mod' previously defined here
   27 | const ll mod = 1e9 + 7;
      |          ^~~
a.cc:64:10: error: redefinition of 'const ll maxn'
   64 | const ll maxn = 1e5;
      |          ^~~~
a.cc:29:10: note: 'const ll maxn' previously defined here
   29 | const ll maxn = 1e5;
      |          ^~~~
a.cc:67:4: error: conflicting declaration 'll a [100000]'
   67 | ll a[maxn];
      |    ^
a.cc:31:4: note: previous declaration as 'll a'
   31 | ll a, b, c, k;
      |    ^
a.cc:70:6: error: conflicting declaration 'char c'
   70 | char c;
      |      ^
a.cc:31:10: note: previous declaration as 'll c'
   31 | ll a, b, c, k;
      |          ^
a.cc:72:6: error: redefinition of 'void solve()'
   72 | void solve() {
      |      ^~~~~
a.cc:33:6: note: 'void solve()' previously defined here
   33 | void solve() {
      |      ^~~~~
a.cc:85:6: error: redefinition of 'void aux()'
   85 | void aux() {
      |      ^~~
a.cc:41:6: note: 'void aux()' previously defined here
   41 | void aux() {
      |      ^~~
a.cc:88:5: error: redefinition of 'int main()'
   88 | int main() {
      |     ^~~~
a.cc:44:5: note: 'int main()' previously defined here
   44 | int main() {
      |     ^~~~