Task: Program Execution
Input (English): 5843, 5497, 4343, 7339, 4115, C, J, 9059, i, p, 6247, G, S, 9073, S, 1953, 2271
Output (English): 1, 2, 3, 4, 5, 8, 11, 14, 16, 17