Task: Program Execution
Input (English): 5217, B, 3973, 8817, B, F, s, 1517, l, 1865, 9475, F, 5193
Output (English): 1, 3, 4, 8, 10, 11, 13