difference between input and output