output_description: Print the total number of biscuits produced within T + 0.5 seconds after
  activation.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      A B T
attempt: n = int(input())
  A = list(map(int, input().split()))
  mina = 10**9
  minus = 0
  sumA = 0
  for a in A:
      if a < 0:
          minus += 1
          a = -a
      sumA += a
      mina = min(a, mina)
  if minus % 2 == 1:
      sumA -= 2 * mina
  print(sumA)
  
problem_description: Statement
  
  A biscuit making machine produces B biscuits at the following moments: A
  seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds
  after activation.
  
  Find the total number of biscuits produced within T + 0.5 seconds after
  activation.
samples: [{"input": "3 5 7", "output": "10\n    \n\n  * Five biscuits will be produced three seconds after activation.\n  * Another five biscuits will be produced six seconds after activation.\n  * Thus, a total of ten biscuits will be produced within 7.5 seconds after activation.\n\n* * *"}, {"input": "3 2 9", "output": "6\n    \n\n* * *"}, {"input": "20 20 19", "output": "0"}]