Create PAT 1024.cpp