Task: Program Execution
Input (English): 5, 6, ['2835', '8485', '7421', '7081', 'G', 'm', '7301', '2391']
Output (English): G, m