

/**
 * Created by IntelliJ IDEA.
 * User: m09has
 * Date: 30.09.2009
 * Time: 17:30:35
 * To change this template use File | Settings | File Templates.
 */    import java.io.PrintWriter;
import java.io.File;
import java.util.Scanner;
public class Program {    public static void main (String[] arqs)   throws Exception{
  Scanner s = new Scanner (new File ("sumall.in"));
   long sum=0;
   while ( s.hasNext() ){  sum = sum+s.nextInt();};
    PrintWriter p = new PrintWriter (new File("sumall.out"));
    p.print (sum);
    p.close();   s.close();
}
}

