Task: Program Execution
Input (English): 5, 10, ['155', '3823', 'c', '9953', '6505', 'O', 'v', 'n', '6141', 'd', 'F', 'X']
Output (English): d, 6141, n, v, O, 6505