Task: Program Execution
Input (English): I, 6595, 7623, 9475, 4541, 9843, N, 9487, 3439, 8899
Output (English): 1, 7