a,b=input().split(' ') exec("print(int(("+a+b+").lstrip('0')))")