Program, makefile, sample input and output