import java.util.*; import java.math.BigDecimal; public class Exercise147{ public static void main (String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); BigDecimal sum = new BigDecimal("0.0000000000"); for(int i = 0; i < n; i++){ BigDecimal num = new BigDecimal(sc.next()); sum = sum.add(num); } System.out.println(sum.toPlainString()); } }