Read data from stdin.