Task: Program Execution
Input (English): 5, 9, ['5101', 'B', 'H', 'v', 'H', 'X', '827', 'a', 'n', 'S', '9211', '3131', 'N', 'd', 'I', '6509']
Output (English): na728XH