def main():
    N, P = map(int, input().split())

    if N == 1 or P == 0:
        print('=')
    else:
        print('!=')

main()