Create 1002.cpp