Task: Program Execution
Input (English): O, D, 7969, 9781
Output (English): 2