import java.util.*;
import java.io.*;

public class FileRead
{
    // Note the "throws IOException." We'll talk more about this, but
    // you need to add it for any method that reads or writes to a
    // file, or for any method that calls a method with throws
    // IOException in its definition.
    public static void main(String[] args) throws IOException
    {
        Scanner input = new Scanner(new File("numbers.txt"));
        while (input.hasNext())
        {
            int value = input.nextInt();
            System.out.println(value);
        }
    }
}