Create PAT 1042.cpp