Task: Program Execution
Input (English): X, p, 8759, 85, 5849, 3113, A, K, 6657, 1873, e, m, 3415, 7903, 8257, T, 6407, 4183
Output (English): 3, 4, 5, 6, 9, 10, 13, 14, 15, 17, 18