input and output of first program