Task: Program Execution
Input (English): 3831, 8629, q, j
Output (English): 3, 4