Task: Program Execution
Input (English): 9851, 3615, b, Q, 5401, Z, u, b, 85, 3009, 923, 5543, 853, 4623, v, 2775, U, U
Output (English): 3, 4, 6, 7, 8, 15, 17, 18