Task: Program Execution
Input (English): 387, v, 449, u, 499
Output (English): 3, 4, 7, 8, 9