Task: Program Execution
Input (English): 3, 6, ['p', 'H', '2775', '2567', '7787', 'D', '3807', '4817', '5399']
Output (English): D787776525772