Format Programs Output