Task: Program Execution
Input (English): 3, 3, ['Z', '4709', '2621', 'U', 'q', 'u', 'e', 'o', '1767', 'I', 'U', '3447', 'K', '7949', 'D']
Output (English): 2621, u, 1767, 3447, D