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

K=int(eval(input()))



i=0

while i<K:

    if A>=B:

        B*=2

    elif B>=C:

        C*=2

    i+=1



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

K=int(eval(input()))

i=0

while i<K:

    if A>=B:

        i+=1

        B*=2

    else:

        break

while i<K:

    if B>=C:

        i+=1

        C*=2

    else:

        break



print(('YNeos'[(A>=B)or(B>=C)::2]))
A, B, C = list(map(int, input().split()))
K = int(eval(input()))
i = 0
while i < K:
    if A >= B:
        B *= 2
    elif B >= C:
        C *= 2
    i += 1
print(("Yes" if A < B < C else "No"))

A, B, C = list(map(int, input().split()))
K = int(eval(input()))
i = 0
while i < K:
    if A >= B:
        i += 1
        B *= 2
    else:
        break
while i < K:
    if B >= C:
        i += 1
        C *= 2
    else:
        break
print(("YNeos"[(A >= B) or (B >= C) :: 2]))

+        i += 1 -    elif B >= C: +    else: +        break +while i < K: +    if B >= C: +        i += 1 -    i += 1 -print(("Yes" if A < B < C else "No")) +    else: +        break +print(("YNeos"[(A >= B) or (B >= C) :: 2]))