Task: Program Execution
Input (English): O, w, 3817, 4057
Output (English): 7874