Task: Program Execution
Input (English): T, m, 6467, 4865, 3751, 397, F, 7699, b, o, d, A, 3571
Output (English): 1, 2, 7, 9, 10, 11, 12