output_description: Evaluate the formula and print the result.
  
  * * *
input_description: The input is given from Standard Input in the following format:
  
      
      
      A op B
attempt: N = int(input())
  T = list(map(int, input().split()))
  M = int(input())
  
  P, X = [], []
  for i in range(M):
      p1, x1 = map(int, input().split())
      P.append(p1)
      X.append(x1)
  
  count = 0
  for i in T:
      count += T[i]
  
  c = count
  
  for i in X:
      count = c
      count += X[i]
      count -= T[i]
      print(count)
  
problem_description: Statement
  
  Joisino wants to evaluate the formula "A op B". Here, A and B are integers,
  and the binary operator op is either `+` or `-`. Your task is to evaluate the
  formula instead of her.
samples: [{"input": "1 + 2", "output": "3\n    \n\nSince 1 + 2 = 3, the output should be 3.\n\n* * *"}, {"input": "5 - 7", "output": "-2"}]