Task: Program Execution
Input (English): w, 9827, 9121, w, 6897, 3225, E, 3571, 3319
Output (English): 3