Task: Program Execution
Input (English): 2, 7, ['9831', '4229', '7977', 'I', 'C', 'R', '5657']
Output (English): 7565RCI77979224