Task: Program Execution
Input (English): 2943, a, 1693, n, 5919
Output (English): 10555