Task: Program Execution
Input (English): 2629, 2425, a, D, P, f, A, 4971, 7309, g, Z, 7957, 7321
Output (English): 6