Task: Program Execution
Input (English): 4663, 3997, B, 3085, 5411, q, L, 991
Output (English): 3, 6, 7