Task: Program Execution
Input (English): 5623, 5765, 8757, m, z, a
Output (English): 3