Task: Program Execution
Input (English): 1, 4, ['X', '3781', 'p', 'c', 'H', 'l']
Output (English): cp1873X