Task: Program Execution
Input (English): T, 6279, p, N, S, J, 6503, 1999, 6499, T, 9641, 665, V
Output (English): 2, 7, 8, 9, 11, 12