Create PAT 1004.cpp