Task: Program Execution
Input (English): e, 5327, 9783, a, T, 3317, K, g
Output (English): 18427