Create PAT 1005.cpp