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

k = int(eval(input()))



while a >= b:

  b*= 2

  k -= 1



while b >= c:

  c*=2

  k-=1

  

if a < b and b < c and k >= 0: print("Yes")

else: print("No")
a,b,c = list(map(int, input().split()))

k = int(eval(input()))



while b <= a:

  b *= 2

  k -= 1

  

while c <= b:

  c *= 2

  k -= 1



if k >= 0: print("Yes")

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

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

-while a >= b: +while b <= a: -while b >= c: +while c <= b: -if a < b and b < c and k >= 0: +if k >= 0: