Task: Program Execution
Input (English): t, n, 7631, 309, 8987, S, 543, 767, 7889, E, t, v
Output (English): 6