Task: Program Execution
Input (English): 5, 8, ['5129', '5925', 'J', '1117', 'n', 'H', '9125', 'G', 'N', 'f', '5161', '7265', '3037', '4549', '1511', '745', '5597']
Output (English): G5219Hn