Task: Program Execution
Input (English): 3, 12, ['C', '189', '2621', 'p', 'k', 'e', 'f', '6957', '971', '5621', 'e', '177']
Output (English): 16347