Task: Program Execution
Input (English): 2, 5, ['5797', 'Q', 'S', 'D', 'e']
Output (English): eDSQ