Task: Program Execution
Input (English): 4, 8, ['Q', 'p', '6505', 'M', '3407', 'z', '67', 'S', 'm']
Output (English): M3407z67S