input: Write a function to perform addition and subtraction operations.
  assert add(5, 3) == 8
  assert subtract(10, 5) == 5
  assert add(-2, 4) == 2
  assert subtract(7, 10) == -3
output: def add(a, b):
      return a + b
  
  def subtract(a, b):
      return a - b