Task: Program Execution
Input (English): 2, 7, ['X', '1623', '8019', 'i', 'Z', 'K', '4443', 'k']
Output (English): 14085