create 1009.cpp