Task: Program Execution
Input (English): 3015, j, 7597, g, Z, 1973, 8717, 4123
Output (English): 3