Task: Program Execution
Input (English): U, 5971, 6025, b, q, 19, 4889, H
Output (English): 2, 3, 6, 7