Task: Program Execution
Input (English): 3, 8, ['A', '341', '1559', 'r', 'g', '2887', 'n', 'K', 'C', '5001', '5029', 'w', '7237', '2045', '4987', 'A']
Output (English): 1559, 5029