Task: Program Execution
Input (English): j, m, 6189, l, 5845, 2103, k, 2575, S, 1285, p, 6787, 7121, C, j, E, 6975
Output (English): 1, 2, 4, 7, 9, 11, 14, 15, 16