Task: Program Execution
Input (English): z, 377, 377, 9, i, g, 323, n, 113, 1, f, f
Output (English): 1, 2, 3, 7, 9