import java.io.*; import java.util.*; import java.math.*; class Main { public static void main (String[] args) throws IOException { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); BigDecimal[] nums = new BigDecimal[n]; for (int i = 0; i < n; i++) { nums[i] = new BigDecimal(sc.next()); } jout(solve(nums) + "\n"); } public static String solve (BigDecimal[] nums) { BigDecimal ret = BigDecimal.ZERO; for (BigDecimal num : nums) { ret = ret.add(num); } return ret.setScale(10).toPlainString(); } public static void jout (Object o) { System.out.print(o); } }