Task: Program Execution
Input (English): w, t, 8239, 5701
Output (English): 3, 4