n=int(input()) a=input ().split () b=1000 for i in n-1: b*(1000-int(a[i]))/1000 print (100-b)