Task: Program Execution
Input (English): 7, 7, ['999', '257', 'a', 'y', '1495', 'a', '3623', '8393', 'X', '121', '5395']
Output (English): 3623