Task: Program Execution
Input (English): 5355, 8097, F, 4657, T, 9281, J, 6433, T, 7031, J, i, 7849, 3481
Output (English): 1, 2, 4, 6, 8, 10, 13, 14