• + 0 comments
    #The eval() function in Python is used to evaluate a string as a Python expression. It parses the string and executes it as code within the current environment.
    #Using Pypy 3
    
    x,k = map(int, input().split())
    poly_exp = input() 
    print((eval(poly_exp))==k)