Task: Program Execution
Input (English): z, 127, u, b, 313
Output (English): 1, 2, 3, 7