• + 13 comments

    in Python 3:

    ui = input().split()
    x = int(ui[0])
    print(eval(input()) == int(ui[1]))