Task: Program Execution
Input (English): 8399, 389, 2423, 175, a, n, d
Output (English): 8399, 389, 2423, 175, 1, 14, 4