Task: Program Execution
Input (English): 8051, Z, 1295, W, 4371, j, L, i, K, D, N, F, 7179
Output (English): 9