Task: Program Execution
Input (English): beams,, C, C, by, a, P
Output (English): beams,CCbyaP