Task: Program Execution
Input (English): 1, ['5039', 'S']
Output (English): S