Task: Program Execution
Input (English): E, 2809, 7, N, 5915, 1801, W, y, v, k, 957, P, 3399
Output (English): 14888