2.1. Input and output