Task: Program Execution
Input (English): 6631, 1783, v, 1295, 6545, Z, 5747, 8865
Output (English): 30866