#!/usr/bin/env python3 import decimal n = int(input()) a = [ decimal.Decimal(input()) for _ in range(n) ] print('{:.10f}'.format(sum(a)))