Task: Program Execution
Input (English): z, 7459, 5349, 8705, 9771
Output (English): 1