Task: Program Execution
Input (English): 2, 4, ['x', 'y', 'M', '8137', 'q', '2639', 'a', '5175', '3231', 'Z', '8921', '4915', '3193', 'A', '3783', '6805']
Output (English): yM8137