Task: Program Execution
Input (English): 3, 6, ['4031', 'K', 'X', '2743', '453', 'X', '4777', 'T', 'I', '1435', '3873', '3103', '2099', '9651', '2917', '5711', '9881', 'o', 'I', 'p', 'H']
Output (English): X4532743X