Task: Program Execution
Input (English): 2, 4, ['8769', 'C', 'H', '8187', '7463']
Output (English): 7818HC