Task: Program Execution
Input (English): g, 243, 359, u
Output (English): 2, 3, 4, 5, 9