import java.io.IOException;

public class CopyInputBytes {
    public static void main(String[] args) {
	try {
	    int c;
	    while ((c = System.in.read()) != -1) {
		System.out.write(c);
	    }
	    // Varmuuden vuoksi pakotetaan tulostevirran flushaus.
	    System.out.flush();
	} catch(IOException e) {
	    e.printStackTrace();
	    System.exit(1);
	}
    }
}
