Task: Program Execution
Input (English): e, K, A, V, 1169, n, 8729, V
Output (English): 9898