Task: Program Execution
Input (English): 2413, 8721, R, T, 6223, 5795, 3247, w, V, 8995, 2683
Output (English): 7