Task: Program Execution
Input (English): 4159, Z, 3907, b
Output (English): 2