Task: Program Execution
Input (English): 2, 12, ['z', 'Y', 'f', 'W', '1009', '7747', '2499', 'p', '2131', '451', 'K', '8573', 't']
Output (English): 8573K4512131p249977471009WfY