Task: Program Execution
Input (English): 2, 4, ['539', 'C', '7997', 'p', 'm', '9405', 'C', 'h', 'h']
Output (English): p7997C