start of input and basic output