a,b;main(p){scanf("%d%c%d",&a,&p,&b);a=!printf("%d",p&4?a+b:a-b);}