1. Input and output