Task: Program Execution
Input (English): 2511, 7157, f, 9407, W, 4123, h, n, W, B, 3215, 6609
Output (English): 1, 2, 4, 6, 11, 12