Task: Program Execution
Input (English): 5, 12, ['n', '2459', 'R', '6009', '9109', 'A', 'l', 'W', 'U', '1313', 'Z', '9773', '7885', '4959', '5151', 'q', '8967', '9967', 'a']
Output (English): 3779Z3131UWlA9019