How do you do input and output if input is n?