Task: Program Execution
Input (English): z, g, 481, 179, 39
Output (English): 1, 3, 4, 7, 8, 9