Task: Program Execution
Input (English): R, F, 5157, 2319, J, r, i, 6881, 1503, a, 4165, 7373, L, 3501, z, 5541, 8679, n, D, 1163
Output (English): 1, 2, 5, 6, 7, 10, 13, 15, 18, 19