Task: Program Execution
Input (English): 9949, 8941, l, 9043, t, t, 9079, I, N, Q, d, X, J, 3507, 1741, 5243, V, 5581
Output (English): 1, 2, 4, 7, 14, 15, 16, 18