output_description: Print the answer.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      s_1 s_2 s_3
attempt: n = [int(i) for i in input().split()]
  a = [int(i) for i in input().split()]
  
  total = 0
  fugo = 0
  count = 0
  
  for i in a:
      total += i
  
      if fugo == 0:
          total = i
          if total > 0:
              fugo = 1
          else:
              fugo = -1
          continue
      elif fugo > 0:
          fugo = -1
          if total >= 0:
              while total >= 0:
                  count += 1
                  total -= 1
      elif fugo < 0:
          fugo = 1
          if total <= 0:
              while total <= 0:
                  count += 1
                  total += 1
  
  print(count)
  
problem_description: Statement
  
  You are given three words s_1, s_2 and s_3, each composed of lowercase English
  letters, with spaces in between. Print the acronym formed from the uppercased
  initial letters of the words.
samples: [{"input": "atcoder beginner contest", "output": "ABC\n    \n\nThe initial letters of `atcoder`, `beginner` and `contest` are `a`, `b` and\n`c`. Uppercase and concatenate them to obtain `ABC`.\n\n* * *"}, {"input": "resident register number", "output": "RRN\n    \n\n* * *"}, {"input": "k nearest neighbor", "output": "KNN\n    \n\n* * *"}, {"input": "async layered coding", "output": "ALC"}]