Task: Program Execution
Input (English): 5, 8, ['c', '2945', '9207', 'V', 'U', '6589', 'o', 'W', 'N', '1087', '8677', 'v', '3427', 'b', 'n', '3011', '8687', 'l', 'J', 'j', 'K', 'o', 'L', 'P', '7191']
Output (English): U6589oW