Task: Program Execution
Input (English): Y, X, 9815, f, 9693, 8689, 5559, 1271, 9439, 807, 3961, X, F, w, 9741, q, V, U, 5971
Output (English): 1, 2, 4, 12, 13, 14, 16, 17, 18