n = int(input())
city, expect = [int(x) for x in input().split(" ")]
expect = expect / 100
for i in range(n - 1):
    p, w = [int(x) for x in input().split(" ")]
    w = w / 100
    expect = round(expect * w, 2)
print(expect)