import java.io.*; import java.util.*; class WholeProgram { public static void main(String args[]) { String Line; int TOTAL = 0; try { BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in)); while (true) { Line = stdin.readLine(); if (Line == null) break; StringTokenizer st = new StringTokenizer(Line); int x = Integer.parseInt(st.nextToken()); TOTAL += x; } } catch (EOFException e) { } catch (IOException e) { } System.out.println(TOTAL); } }