Update and rename pro7.cpp to pro8.cpp