• + 0 comments
    x, res = list(map(int, input().split(' ')))
    polynomial = eval(input().format(x=x))
    print(res == polynomial)