Task: Program Execution
Input (English): 3, 4, ['g', '4083', 'R', 'Y', '4971', 'a', 'D', 'm', '4743']
Output (English): YR