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