Task: Program Execution
Input (English): 7, ['M', 'Y', '3751', 'r', '9887', 't', 'T', '2609', '5523', '1585', 'V', '6311', '397', 'q', '2837', 'n']
Output (English): M, 2609, 2837