A = int(input()) P = list(map(int,input().split())) P = [p / 100 for p in P] N = 80 - A #dp = [[0] * (1 << 14) for _ in range(N+1)] #dp[0][-1] = 1 dp = [0] * (1 << 14) dp[-1] = 1 for j in range(N): nx = [0] * (1 << 14) for bit in range(1 << 14): T = bit while True: tmp = 1 for i in range(14): mask = 1 << i if bit & mask == 0: continue count = 0 if bit & (mask >> 1): count += 1 if bit & (mask << 1): count += 1 if T & mask: tmp *= 1 - P[count] else: tmp *= P[count] nx[T] += dp[bit] * tmp if T == 0:break T -= 1 T &= bit dp = nx ans = 0 for bit in range(1 << 14): num = bin(bit).count('1') ans += num * dp[bit] print(ans * 2)