Task: Program Execution
Input (English): 3, 7, ['N', 'D', 'h', 'X', '249', '6277', '3907', '3899', '8257']
Output (English): 39076277249Xh