Task: Program Execution
Input (English): u, 421, 299, 125, h
Output (English): 1, 2, 4, 5, 9