output_description: Print the answer.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      s_1 s_2 s_3
attempt: def c(ints):
  
      for i in range(len(ints)):
          if ints[i] != 0:
              sig = 1 if ints[i] > 0 else -1
              total = ints[i]
              mov = i + 1
              j = i
              break
          if i == len(ints) - 1:
              return i + 1
  
      for i_ in ints[j + 1 :]:
          tmp = total + i_
          if tmp == 0:
              mov += 1
              tmp = -sig
  
          elif sig * tmp > 0:
              mov += abs(tmp) + 1
              tmp = -sig
  
          sig *= -1
          total = tmp
  
      return mov
  
  
  _ = input()
  inp = input()
  inp = inp.split(" ")
  inp = [int(i_) for i_ in inp]
  print(c(inp))
  
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"}]