Task: Program Execution
Input (English): B, T, 6713, 7445, m, 4569, 5539, f, 6309, 6163, 657, 4699, 2155
Output (English): 1, 2, 5, 8