Task: Program Execution
Input (English): 9481, l, N, 8313, 7197, 6667, 4311
Output (English): 35969