Task: Program Execution
Input (English): 3, 6, ['7233', '7997', 'a', '727', '8387', 'Q', '1313', 'E']
Output (English): 9114