#!/usr/bin/env python3 import decimal n = int(input()) a = [ decimal.Decimal(input()) for _ in range(n) ] s = str(sum(a)) if '.' not in s: s += '.' s = (s + '0' * 10)[ : s.index('.') + 11 ] print(s)