Task: Program Execution
Input (English): 3, 3, ['1957', 'i', 'h', 'p', '7989', '9847', '7965', 'F', '3871', '1827', '1993', '6249', '3303', 'A', 'q', 't', '7907', '2741', 'Y']
Output (English): h, 9847, 3871, 6249, q, 2741