Final version of LCS and CCS problems