Task: Program Execution
Input (English): 397, u, w, i, 133
Output (English): 1, 3, 7, 9