Task: Program Execution
Input (English): 7, 10, ['A', '905', 'M', 'L', '5135', 'S', 'r', 'i', '403', 'G', '8437', '8837']
Output (English): G304ir