Generate input file 1