Task: Program Execution
Input (English): Z, v, 2059, 6295, 8885, 6897, 1081, K, 6059, U, v, 9919
Output (English): 41195