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