Task: Program Execution
Input (English): K, 4403, a, 3881, 4139, w, 1861, G
Output (English): 14284