read all input from stdin