A, B = input().split() A = A.lstrip("0") B = B.lstrip("0") print(int(A) + int(B))