import java.util.*; public class No9009 { public static void main(String[] args) { int N;long a,Goukei=0; try(Scanner input =new Scanner(System.in)){ N=input.nextInt(); for(int i=1;i<=N;i++){ Goukei+=input.nextLong(); } System.out.println(Goukei); }catch(Exception e){ e.printStackTrace(); } } }