Task: Program Execution
Input (English): v, W, 8485, T, Z, D, 2311, 5823, 3283
Output (English): 19902