Task: Program Execution
Input (English): 8747, g, A, 2977, H, Q, 177, 2975, 9537, 223, X, n, 3369, 9745, F
Output (English): 2, 3, 5, 6, 11, 12, 15