Task: Program Execution
Input (English): r, R, 2403, 5189, t, 2411, x, Z, 581, 5283, h, Z, 9707, w, 3699, 4911, g, f, r
Output (English): 3, 4, 6, 9, 10, 13, 15, 16