Task: Program Execution
Input (English): 2, ['A', 'M', 'Y', 'p', '2835', 'K', '1935', '4513', '4519', 'V']
Output (English): A, M