Task: Program Execution
Input (English): 9067, k, 4643, 1787
Output (English): 2