Task: Program Execution
Input (English): V, 6615, R, N, 9251, G, 699, V, l, O, l, 1347, 1171, 2015, 9479
Output (English): 30577