Task: Program Execution
Input (English): Y, r, 8743, 403, o, w, e, 1671, 4687, 777, 4899, 5651, H, 1677, q
Output (English): 3, 4, 8, 9, 10, 11, 12, 14