Task: Program Execution
Input (English): 3, 5, ['F', 'I', 'w', 'Q', 'Q', '1999', '7671']
Output (English): 0