Task: Program Execution
Input (English): 2, 3, ['V', '8267', 'F', 'P', 'Z', '7781', 'o']
Output (English): F, 8267