FANDOM


import java.io.*;

public class Stream
{
	public static void main(String[] args) throws FileNotFoundException,IOException 
        {
			BufferedReader fIn = new BufferedReader(new FileReader(args[0]));
			int erg = 0;
			String str;
			while((str=fIn.readLine()) != null)
				erg += Integer.parseInt(str);
			System.out.println(erg);
	}
}