vet = []
for i in range(100):
  h = float(input())
  vet.append(h)
  if vet[i]<=10:
    print("A[%i] = %.01f" %(i,h)) 

vet = []
for i in range(100):
  h = float(input())
  vet.append(h)
  if vet[i]<=10:
    print("A[%i] = %.01f" %(i,h)) 
