Task: Program Execution
Input (English): 8985, 2845, V, T, 739, z, 3731
Output (English): 16300