Task: Program Execution
Input (English): 4, 4, ['o', 'C', 'T', 'O', 'P', '9827', 'n', 'i', 'G', 'B', 'i', '7951', '7777', 'c']
Output (English): 0