Task: Program Execution
Input (English): 5, 6, ['v', 'N', '8947', 'R', 'H', '4343', '8509']
Output (English): 4343H