Task: Program Execution
Input (English): 4653, 1705, 7339, L, N, 3029, 8429, 3843, 999
Output (English): 29997