import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
public static void main
(String[] args
) {
int n; //описание переменных
double a;
double sum = 0;
Scanner sc
= new Scanner
(System.
in); n = sc.nextInt();
for (int i=0;i<n;i++)
{
a = sc.nextDouble();
sum += a; // вычисление суммы
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIAoJewoJCWludCBuOyAvL9C+0L/QuNGB0LDQvdC40LUg0L/QtdGA0LXQvNC10L3QvdGL0YUKCSAgICBkb3VibGUgYTsKCSAgICBkb3VibGUgc3VtID0gMDsKCSAgICBTY2FubmVyIHNjID0gbmV3IFNjYW5uZXIoU3lzdGVtLmluKTsKCSAgICBuID0gc2MubmV4dEludCgpOwoJICAgIGZvciAoaW50IGk9MDtpPG47aSsrKQoJICAgIHsKCSAgICAJYSA9IHNjLm5leHREb3VibGUoKTsKCSAgICAgICAgc3VtICs9IGE7IC8vINCy0YvRh9C40YHQu9C10L3QuNC1INGB0YPQvNC80YsKCSAgICAgICAgU3lzdGVtLm91dC5wcmludGYoIiVmXG4iLE1hdGguYWJzKHN1bSkpOyAKICAgIAl9Cgl9Cn0=