Task: Program Execution
Input (English): a, w, 3087, G, 9589, 147, 1663, M, o
Output (English): 14486