Task: Program Execution
Input (English): 7101, 2999, p, k, d, 5383, 7587, Q, 3693, K, M, t, 7183, 1603, h, z, M, 9585, 7977, 2347
Output (English): 3, 4, 5, 8, 10, 11, 12, 15, 16, 17