Task: Program Execution
Input (English): 3, 10, ['2401', '7165', '1543', '3463', 'K', 'c', '1425', '1549', 'N', '7655', 's', 'h', '1631', '6787', 't', 'a', 'B', 'a', '5159', '8839', 'D', '8389', '7115', '3783', '8815']
Output (English): 1543, 1631, 7115