a, b, c =  list(map(int, input().split()))

K = int(eval(input()))



while K > 0:

    if a >= b:

        b *= 2

    elif b >= c:

        c *= 2

    K -= 1



if a < b < c:

    print('Yes')

else:

    print('No')
A, B, C = list(map(int, input().split()))

K = int(eval(input()))



ans = 0

while B <= A:

    B *= 2

    ans += 1

while C <= B:

    C *= 2

    ans += 1

if ans <= K:

    print('Yes')

else:

    print('No')
a, b, c = list(map(int, input().split()))
K = int(eval(input()))
while K > 0:
    if a >= b:
        b *= 2
    elif b >= c:
        c *= 2
    K -= 1
if a < b < c:
    print("Yes")
else:
    print("No")

A, B, C = list(map(int, input().split()))
K = int(eval(input()))
ans = 0
while B <= A:
    B *= 2
    ans += 1
while C <= B:
    C *= 2
    ans += 1
if ans <= K:
    print("Yes")
else:
    print("No")

-a, b, c = list(map(int, input().split())) +A, B, C = list(map(int, input().split())) -while K > 0: -    if a >= b: -        b *= 2 -    elif b >= c: -        c *= 2 -    K -= 1 -if a < b < c: +ans = 0 +while B <= A: +    B *= 2 +    ans += 1 +while C <= B: +    C *= 2 +    ans += 1 +if ans <= K: