import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; class Main { static PrintWriter out = new PrintWriter(System.out); static String str; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); br.close(); int index = str.indexOf("+"); if (index > 0) { System.out.println(Integer.parseInt(str.substring(0, index)) - Integer.parseInt(str.substring(index + 1))); }else{ index=str.indexOf("-"); System.out.println(Integer.parseInt(str.substring(0, index)) + Integer.parseInt(str.substring(index + 1))); } } }