Task: Program Execution
Input (English): 6827, u, N, 4971, V, 9557
Output (English): 21355