Task: Program Execution
Input (English): 5, 13, ['5221', '8415', '897', '9473', '71', 'R', '821', 'X', 'n', '5065', 'x', '3237', 'z', 'b', '9499', 'J', 'X', '3399']
Output (English): z3237x5065nX821R71