Task: Program Execution
Input (English): 10, 13, ['n', '6747', '2749', 'r', '943', '8729', 'a', 'G', '2181', 'U', '1385', 'p', '2739', '9649']
Output (English): 2739p1385U