Task: Program Execution
Input (English): 3, 6, ['n', '2409', 'a', '6149', 'H', 'H', '4121']
Output (English): HH9416a