Task: Program Execution
Input (English): w, 2737, n, 1877, R, p, U, 7035, 1939, V, 9131, 3083
Output (English): 6