left_value = int(input())
right_value = int(input())
if left_value > right_value:
    print(left_value)
