v=d=1e3 for i in map(int,open(0).read().split()[1:]):v*=1-i/d print(d-v)