from decimal import* print(sum(Decimal(input())/x*x for x in[10**10]*int(input())))