Task: Program Execution
Input (English): 2, 4, ['6837', 'Y', '8763', '5027', '2345']
Output (English): Y, 8763, 5027