Task: Program Execution
Input (English): 1, ['2887', '817', 'D']
Output (English): 817, D