Task: Program Execution
Input (English): 5, 8, ['a', '789', '4819', 'p', '7487', '3429', '4989', '2871', '3161', '4795', 'l', 'T', 'R', '8767', '7303', 'z', 'C', 'g', 'z', 'G', '2393', '8331', '8415', '4227', 'd', '5579', '6795', 'B']
Output (English): 2871, 4989, 3429, 7487