def Bisect(x, seq):
    if seq[round(len(seq) / 2) - 1] == x:
        return True
    elif len(seq) == 1:
        return False
    elif seq[round(len(seq) / 2) - 1] > x:
        return Bisect(x, seq[0:round(len(seq) / 2)])
    else:
        return Bisect(x, seq[round(len(seq) / 2):len(seq)])


a, b = eval(input())
print(Bisect(a, b))

4fe7c2b64ba76dd982a64017f89476ffe92ef82a
<mask token>

def Bisect(x, seq):
    if seq[round(len(seq) / 2) - 1] == x:
        return True
    elif len(seq) == 1:
        return False
    elif seq[round(len(seq) / 2) - 1] > x:
        return Bisect(x, seq[0:round(len(seq) / 2)])
    else:
        return Bisect(x, seq[round(len(seq) / 2):len(seq)])


<mask token>

def Bisect(x, seq):
    if seq[round(len(seq) / 2) - 1] == x:
        return True
    elif len(seq) == 1:
        return False
    elif seq[round(len(seq) / 2) - 1] > x:
        return Bisect(x, seq[0:round(len(seq) / 2)])
    else:
        return Bisect(x, seq[round(len(seq) / 2):len(seq)])


<mask token>
print(Bisect(a, b))

def Bisect(x, seq):
    if seq[round(len(seq) / 2) - 1] == x:
        return True
    elif len(seq) == 1:
        return False
    elif seq[round(len(seq) / 2) - 1] > x:
        return Bisect(x, seq[0:round(len(seq) / 2)])
    else:
        return Bisect(x, seq[round(len(seq) / 2):len(seq)])


a, b = eval(input())
print(Bisect(a, b))
