// CopyText.java -- read the standard input stream as text and copy to standard out

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class CopyText14 { 

   public static void main (final String[] args) throws IOException {

      // System.in  is java.io.InputStream
      // System.out is java.io.PrintStream

      final BufferedReader reader =
	 new BufferedReader (new InputStreamReader (System.in));

      // Read standard input stream line by line
      while (true) {
	 final String line = reader.readLine(); // get next line
	 if (line==null) break;                 // exit when end-of-stream
	 System.out.println (line);             // write line
      }
   } 
}