input file for cp.cpp code