TOPIC
runtime python
UbiratanFilho asked 3 years ago
n = 0 while n >= 0: n = int(input()) soma = 0 i = 0 l = input().split() maior = 0 while i < n: x = int(l[i]) if x > maior: maior = x i += 1 if maior < 10: print(1) if maior >= 10 and maior < 20: print(2) if maior >= 20: print(3)