@staticmethod
def b():
    (r, g, b, k) = map(int, sys.stdin.read().split())
    while (k and (g <= r)):
        g *= 2
        k -= 1
    while (k and (b <= g)):
        b *= 2
        k -= 1
    print(('Yes' if (r < g < b) else 'No'))
@staticmethod
def b():
    (r, g, b, k) = map(int, sys.stdin.read().split())
    while (k and (g <= r)):
        g *= 2
        k -= 1
    while (k and (b <= g)):
        b *= 2
        k -= 1
    print(('Yes' if (r < g < b) else 'No'))