Task: Program Execution
Input (English): g, 473, 45
Output (English): 3, 4, 5, 7