Task: Program Execution
Input (English): 2, 3, ['N', 'i', '1315']
Output (English): i1315