Task: Program Execution
Input (English): 4, 8, ['X', 'a', 'Z', '303', '5551', 'Z', '9587', 'A', '5601', 'Y']
Output (English): 3035551Z9587A