Task: Program Execution
Input (English): E, d, 4991, 463, 5589, 5349
Output (English): 4