Task: Program Execution
Input (English): 2, 9, ['3071', 'q', '9429', '9509', 'I', 'x', 'q', '3281', '6291']
Output (English): 28510