Task: Program Execution
Input (English): q, B, U, 9387
Output (English): 17, 2, 21, 9387