Task: Program Execution
Input (English): 4, 6, ['5339', 'D', 'q', '2417', '3567', 'L']
Output (English): L76537142