import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); char[] in = sc.next().toCharArray(); StringBuilder a = new StringBuilder(); boolean startA = true; boolean startB = false; StringBuilder b = new StringBuilder(); boolean opPlus = false;; for(int i = 0; i < in.length; i++) { if(i != 0 && !startB && (in[i] == '+' || in[i] == '-')) { if(in[i] == '+') { opPlus = true; } startB = true; continue; } if(!startB) a.append(in[i]); else { b.append(in[i]); } } int A = Integer.parseInt(a.toString()); int B = Integer.parseInt(b.toString()); System.out.println(opPlus?(A-B):(A+B)); } static class Data { int[][] mapA; int[][] mapB; int count; Data(int[][] a, int [][] b , int count) { mapA = a; mapB = b; this.count = count; } } }