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

k=int(input())

while b<=a:

    b*=2

    k-=1

while c<=b:

    c*=2

    k-=1

print("Yes")if k>=0 else print("No")

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

k=int(input())

while b<=a:

    b*=2

    k-=1

while c<=b:

    c*=2

    k-=1

print("No")if k<0 else print("Yes")

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

a, b, c = map(int, input().split())
k = int(input())
while b <= a:
    b *= 2
    k -= 1
while c <= b:
    c *= 2
    k -= 1
print("No") if k < 0 else print("Yes")

-print("Yes") if k >= 0 else print("No") +print("No") if k < 0 else print("Yes")