Task: Program Execution
Input (English): 3, 5, ['7931', '4019', 'N', 'e', 'Y']
Output (English): Y, e, N