Task: Program Execution
Input (English): 4, 4, ['2983', 'J', '5933', 'Y']
Output (English): Y