append another input to input.txt

another solution but not completed