Task: Program Execution
Input (English): C, 3029, 5449, z, W, 5459, J
Output (English): 3