A,B=input().split() if B[0]=='-': print(int(A)+int(B)) else: P=A+B if P[0]!='-': while len(P)!=1 and P[0]=='0': P=P[1:len(P)] else: while len(P)!=2 and P[1]=='0': P=P[0]+P[2:len(P)] if P=='-0': P=0 print(P)