Task: Program Execution
Input (English): 45, 387, 417, o, g, 267, 163, 413, 153, x
Output (English): 1, 2, 3, 4, 5, 6, 7, 8