import java.io.*;

class myCat {
	public static void main (String args[]) throws IOException {
		int b;
		int count = 0;
		while ((b = System.in.read()) != -1) {
			count++;
			System.out.print((char)b);
		}
		System.out.println();                        // blank line

// here we would have the Filestream System.out as the Printstream
		System.err.println("counted " + count + " total bytes.");
			}
}
