Task: Program Execution
Input (English): 1, 5, ['N', '519', '4165', '6315', 'R']
Output (English): R51365614915N