Task: Program Execution
Input (English): 2, 3, ['b', '3997', 'N']
Output (English): N3997