Task: Program Execution
Input (English): 4, 5, ['5197', '9907', 'Y', '5333', 'p', 'y']
Output (English): 5333