Task: Program Execution
Input (English): 6, 10, ['8827', 'J', '7277', 'f', '6997', '4883', 'e', '2085', 'J', 's', '5781', '4707', '3417', '8921', '3085', 'h', '4517']
Output (English): s, J, 2085, e, 4883