Task: Program Execution
Input (English): 3361, j, b, 6503, 2643, P, 3277, n, W, S, 3001, 6497, B, C
Output (English): 1, 4, 5, 7, 11, 12