Task: Program Execution
Input (English): a, 6397, 5789, 6497, j, m, 6535, 3775, L, B, 6483, C, 1883, 4751, 137, 4887, 3929, J, X, 9545
Output (English): 1, 5, 6, 9, 10, 12, 18, 19