Task: Program Execution
Input (English): T, 1223, 3207, O, 6835, 941, 4765
Output (English): 2, 3, 5, 6, 7