Task: Program Execution
Input (English): 6195, 261, 9, I, N, R
Output (English): I, N, R