Create PAT 1007.cpp