Task: Program Execution
Input (English): 4, 22, ['3621', 'A', '2659', 'R', '1831', 'x', '603', '1797', '5631', '3261', 'r', '561', '7677', '27', 'd', 'w', '4363', '8571', 'n', '2783', 'E', 'Q']
Output (English): QE3872n17583634wd727767165r162313657971306x1381R