Task: Program Execution
Input (English): 355, r, 439, w, 249, u, g
Output (English): 2, 3, 4, 5, 9