from decimal import Decimal n = int(input()) ans = 0 for i in range(n): x = Decimal(input()) now = round(x * 10 ** 10) ans += now ans = str(ans) n = len(ans) ans = ans[:n - 10] + '.' + ans[n - 10:] print(ans)