Function Machine (Input and Output)