Task: Program Execution
Input (English): 6, 10, ['5495', 'Y', 'L', '6075', 'm', '3491', 'Q', 'R', 'l', 'a', 'U', 'i']
Output (English): a, l, R, Q, 3491