Task: Program Execution
Input (English): Y, Q, 7379, 8791, 4945, n, Q, G, l, e, 6977, o, L, P, 2175, Q, c, Y, w, M, 6755, 347, R
Output (English): 1, 2, 6, 7, 8, 9, 10, 12, 13, 14, 16, 17, 18, 19, 20, 23