L=['','',''] i=0 f=0 o="+-" for c in input(): if c in o and f==1:i=1;f=2 L[i]+=c if f==2:i=2 if c not in o:f=1 a,b=int(L[0]),int(L[2]) print(a+b if L[1]=='-' else a-b)