import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String xopy = sc.next(); int z = ind(xopy); int x = Integer.parseInt( xopy.substring(0,z) ); int y = Integer.parseInt( xopy.substring(z+1) ); String op = xopy.substring(z,z+1); int r =0; if( op.equals("+") ){ r = x-y; }else{ r = x+y; } System.out.println(r); } static int ind(String S){ int n = S.indexOf("+"); if(n<=0){ n=Integer.MAX_VALUE; } int m = S.indexOf("-"); if(m<=0){ m=Integer.MAX_VALUE; } return Math.min(n,m); } }