you can only read from stdin. you write to stdout.