-- 1_2_B
main = do ns <- getContents
          func $ zip [1..] $ lines ns

func []                 =   return ()
func ((n, s):rest)      =   do putStrLn $ "Case " ++ show n ++ ": " ++ s
                               func rest