Task: Program Execution
Input (English): s, 9001, 7059, u, 5671, I, N, g, 7007, m
Output (English): 2, 3, 5, 9