Task: Program Execution
Input (English): 3, 6, ['O', 'u', 'N', 'M', '7967', '4553']
Output (English): 12520