Task: Program Execution
Input (English): 7, 10, ['P', '491', '4873', '8453', '105', '643', 'n', '5353', 'A', 'Y']
Output (English): 5353