Input validation and output printing