Task: Program Execution
Input (English): 3, 5, ['q', '8481', 'E', '745', 'Z', 'J', '9375', '7291', 'K', 'X', 'A', 'K', 'v', 'y', 'k', 'h', 'W', 'd', '8525', '6789', '6835', 'D', 'd', '7657']
Output (English): Z547E