Task: Program Execution
Input (English): 3047, l, 6405, N, I, X
Output (English): 2