Task: Program Execution
Input (English): 403, j, x, 187, 311, g, z, p, 287, w, k, m
Output (English): 0, 1, 2, 3, 4, 7, 8