Task: Program Execution
Input (English): g, 475, e, t, 49
Output (English): 4, 5, 7, 9