The console example for I/O test.