Working input and output.