Task: Program Execution
Input (English): g, z, 289
Output (English): 2, 8, 9