Create PAT 1051.cpp