Task: Program Execution
Input (English): Z, 6673, d, 5973, u, 691, 807, g, a, 2985, 8367, k, c, x, i, R, 6111, i, 7733
Output (English): 1, 3, 5, 8, 9, 12, 13, 14, 15, 16, 18