Task: Program Execution
Input (English): e, M, 3219, W, s, w, X, P, 5875, 9391, 1471, 5233, D, 5417, u, u, W
Output (English): 3, 9, 10, 11, 12, 14