Task: Program Execution
Input (English): 741, J, y, 9629, 2671, z, 4509, K, a, 5097, p, 4697, 4161, Q, F, v, 261, 7507
Output (English): 1, 4, 5, 7, 10, 12, 13, 17, 18