Task: Program Execution
Input (English): e, 6941, 8609, M, 7631, 4197, p
Output (English): 3