Task: Program Execution
Input (English): j, m, 6135, 6645, S, L, k, 7501, 3683, 3851, h, 6801, 7917, K, 9713, 1527, R, 6831
Output (English): 1, 2, 5, 6, 7, 11, 14, 17