Task: Program Execution
Input (English): 6, 7, ['6347', '587', 'E', 'M', '2995', '3321', '3685', '7027', 'L', 'r', 'h', 'z', 'N', 'Y', '5969', '1543', '9821', 'g', 'k']
Output (English): 3685, 3321