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

K = int(eval(input()))





# C > B > A

for i in range(K):

    if C >= B and B > A:

        # C > B > A

        C = C * 2

    elif C >= A and A >= B:

        # C > A >= B

        B = B * 2

    elif (

        (A >= B and B >= C)

        or (B >= A and A >= C)

        or (A >= C and C >= B)

        or (B >= C and C >= A)

    ):

        # A > B > C, B > A > C, A > C > B, B > C > A

        C = C * 2



if C > B and B > A:

    print("Yes")

else:

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

K = int(eval(input()))





# C > B > A

for i in range(K):

    if C >= A and A >= B:

        # C >= A >= B

        B = B * 2

    else:

        C = C * 2



if C > B and B > A:

    print("Yes")

else:

    print("No")
A, B, C = list(map(int, input().split()))
K = int(eval(input()))
# C > B > A
for i in range(K):
    if C >= B and B > A:
        # C > B > A
        C = C * 2
    elif C >= A and A >= B:
        # C > A >= B
        B = B * 2
    elif (
        (A >= B and B >= C)
        or (B >= A and A >= C)
        or (A >= C and C >= B)
        or (B >= C and C >= A)
    ):
        # A > B > C, B > A > C, A > C > B, B > C > A
        C = C * 2
if C > B and B > A:
    print("Yes")
else:
    print("No")

A, B, C = list(map(int, input().split()))
K = int(eval(input()))
# C > B > A
for i in range(K):
    if C >= A and A >= B:
        # C >= A >= B
        B = B * 2
    else:
        C = C * 2
if C > B and B > A:
    print("Yes")
else:
    print("No")

-    if C >= B and B > A: -        # C > B > A -        C = C * 2 -    elif C >= A and A >= B: -        # C > A >= B +    if C >= A and A >= B: +        # C >= A >= B -    elif ( -        (A >= B and B >= C) -        or (B >= A and A >= C) -        or (A >= C and C >= B) -        or (B >= C and C >= A) -    ): -        # A > B > C, B > A > C, A > C > B, B > C > A +    else: