Task: Program Execution
Input (English): 8, 12, ['3021', '6421', '1147', 'K', '5443', '1665', 'L', 'J', 'r', 'J', '821', '4901', 'r', '7115', 'm', 'T', 'T', '7641', '7171', '2289']
Output (English): J, r, J, 821, 4901