output_description: Print the integer representing the amount of water, in milliliters, that will
  remain in Bottle 2.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      A B C
attempt: N = input()
  Num = len(N)
  if Num == 5:
      Ans = (int(N) - 9999) + 900 + 9
  elif Num == 4:
      Ans = 900 + 9
  elif Num == 3:
      Ans = (int(N) - 99) + 9
  elif Num == 2:
      Ans = 9
  elif Num == 1:
      Ans = N
  elif Num == 6:
      Ans = 90000 + 900 + 9
  print(Ans)
  
problem_description: Statement
  
  We have two bottles for holding water.
  
  Bottle 1 can hold up to A milliliters of water, and now it contains B
  milliliters of water.
  
  Bottle 2 contains C milliliters of water.
  
  We will transfer water from Bottle 2 to Bottle 1 as much as possible.
  
  How much amount of water will remain in Bottle 2?
samples: [{"input": "6 4 3", "output": "1\n    \n\nWe will transfer two milliliters of water from Bottle 2 to Bottle 1, and one\nmilliliter of water will remain in Bottle 2.\n\n* * *"}, {"input": "8 3 9", "output": "4\n    \n\n* * *"}, {"input": "12 3 7", "output": "0"}]