Prepare/Java/01 - Introduction/09 - Java-end-of-file/Solution.java
import java.io.*;
import java.util.*;

public class Solution {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = 1;
        while (scanner.hasNext()){
            System.out.println(n + " " + scanner.nextLine());
            n++;
        }
    }
}
