A,B=input().split() if str(int(A+B))==A+B: print(A+B) else: print(int(A)+int(B))