Task: Program Execution
Input (English): 385, 265, g, 41, 415
Output (English): 1, 2, 3, 4, 5, 6, 8