Task: Program Execution
Input (English): 1981, i, f, 1889
Output (English): 3870