cf-247-2-C.cpp