import java.util.*; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); char[] arr = sc.next().toCharArray(); StringBuilder[] sbs = new StringBuilder[2]; boolean isPlus = true; int idx = 0; for (int i = 0; i < 2; i++) { sbs[i] = new StringBuilder(); while (idx < arr.length) { char c = arr[idx]; if (sbs[i].length() > 0 && (c == '+' || c == '-')) { isPlus = c == '-'; idx++; break; } sbs[i].append(c); idx++; } } int a = Integer.parseInt(sbs[0].toString()); int b = Integer.parseInt(sbs[1].toString()); int ans; if (isPlus) { ans = a + b; } else { ans = a - b; } System.out.println(ans); } }