package yukiCoder; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class No09008 { public static void main(String[] args) { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); try { int size = Integer.parseInt(bufferedReader.readLine()); String[] input = new String[size]; input = bufferedReader.readLine().split(" "); long ans = 0; for (int i = 0 ; i < size ; i++) { ans = ans + Long.parseLong(input[i]); } System.out.println(ans); } catch (IOException e) { e.printStackTrace(); } catch (NumberFormatException e) { e.printStackTrace(); } } }