Create PAT 1041.cpp