Task: Program Execution
Input (English): g, 159, 371
Output (English): 1, 3, 5, 7, 9