Create a program of output stream