Task: Program Execution
Input (English): 5, 20, ['3983', 'J', '9115', '2839', 'j', '1303', 'h', 'Y', 'S', 'q', 'U', 'L', 'J', 'Y', 'I', 'W', 'T', '6339', 't', '2823', '5953', 'E', 'Q', '6397', 'm', '2619']
Output (English): 3282t9336TWIYJLUqSYh3031j