Task: Program Execution
Input (English): Q, 3077, U, g, 7319, 4951, A, 819, 7117, 4535, F, 2725, 5527, U, O, Y, y, 9917, 7061, 31
Output (English): 1, 3, 4, 7, 11, 14, 15, 16, 17