Task: Program Execution
Input (English): 4, 4, ['J', 'B', 'i', '7441', '3045', 'o', '1083', '1853', 'N', 'R']
Output (English): 7441