Task: Program Execution
Input (English): Y, N, h, J, a, 6057, 3887, Y, 8669, T, s, U, 2083, 6905, x, j, f, 3683, B, 2707, 9089, 4093, 2311
Output (English): 6, 7, 9, 13, 14, 18, 20, 21, 22, 23