Task: Program Execution
Input (English): same, c, singular, o, has, h, i, M, great, I, b, Queequeg,, p, M
Output (English): samecsingularohashiMgreatIbQueequeg,pM