Task: Program Execution
Input (English): q, 4203, U, B, 39, 6849, 5715, 8485, 4285, 749, h
Output (English): 30325