Task: Program Execution
Input (English): 2, 8, ['4225', 'k', '4097', '4459', '8125', '431', '495', 'Z']
Output (English): 17607