Task: Program Execution
Input (English): V, 903, h, b, 4145, q, i, 1219, W, 3081, T, 2631, 8137, K
Output (English): 20116