Task: Program Execution
Input (English): e, F, 3991, u, 8629, F
Output (English): 3, 5