Create PAT 1045.cpp