Task: Program Execution
Input (English): 3431, 5341, T, 1085, H, 5741, n, 561, 5917, 1751, q, X
Output (English): 1, 2, 4, 6, 8, 9, 10