Task: Program Execution
Input (English): 2, 2, ['5211', 'S', 'm', 'U', 'l', 'Q']
Output (English): S