Task: Program Execution
Input (English): 3785, x, 2817, N
Output (English): 2, 4