Task: Program Execution
Input (English): 345, k, 133, 381, 39, 35, z, g, k, r, g, w, r, 251, 269
Output (English): 1, 2, 3, 4, 5, 6, 8, 9