Task: Program Execution
Input (English): 381, l, z, 323, x, 247, 11
Output (English): 1, 2, 3, 4, 7, 8