Task: Program Execution
Input (English): 2, 3, ['N', '3701', 'j', 'E', 'p']
Output (English): j3701