Task: Program Execution
Input (English): 3, 5, ['I', '4527', '1949', 'D', '7645', '8141', 'i']
Output (English): 7645, D, 1949