Task: Program Execution
Input (English): S, 1895, 9799, k, 4909, 7703, B, A, g, 5847, N, 7163, 5751, 1815, 903, 4005
Output (English): 2, 3, 5, 6, 10, 12, 13, 14, 15, 16