Wrote output print statements.