Solution of CC practice