#include <stdio.h>

int main(argc, char *argv[])
{
	char buf[1024];
	int readbytes;

	while (1) {
		readbytes = read(stdin, buf, sizeof(buf));

		if (readbytes > 0) {
			write(stdout, buf, readbytes);
		} else if (readbytes == 0) {
			break;
		}
		/* else just try again */
	}
	
	return 0;
}

