Task: Program Execution
Input (English): z, 471, 127, j, u
Output (English): 1, 2, 4, 7