In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Ex Input:
['l', 581, 4659, 2559, 'f', 'S', '1219', '6225', '515', '5369', 'w', 'V', 7431, 6195, 1731, 'J', 9541], [8813, 7733, 'n', 'a', 'h', 981, 'S', '1219', '6225', '515', '5369', 'w', 'q', 'A', 'U', 'J']

Ex Output:
S, 1219, 6225, 515, 5369, w


Ex Input:
[8235, 6785, 'P', 'N', 'y', '5503', '6065', '2039', 'Q', 'o', 'F', 7791, 'R', 'm', 3633], ['s', 863, 'z', 'y', '5503', '6065', '2039', 'Q', 'o', 'o', 6907, 5837, 's', 2553]

Ex Output:
y, 5503, 6065, 2039, Q, o


Ex Input:
[3521, 'O', 3157, 'J', 'D', 'k', 'D', 'M', 8839, 6585, 'C', 2363, 'Y', 'z', 349, 'E', 't', 8787, 'o', 'a', 8987, '2279', 'x', '4281', 'a', '359', '5751', '5267', '1387', '6923', '8561', '9699', '9631', 'R', '1973', '8697', 'V', 'z', '8399', 'H', '69', 'Z', '5971', 'h', 519, 'w', 'n', 'S', 8915, 'P', 9455, 2347, 1381, 1825, 647, 'p', 1, 9133, 'l', 7331, 1389, 3675, 'h'], ['W', 'o', 7333, 'x', 9123, 1881, 4793, 'C', '2279', 'x', '4281', 'a', '359', '5751', '5267', '1387', '6923', '8561', '9699', '9631', 'R', '1973', '8697', 'V', 'z', '8399', 'H', '69', 'Z', '5971', 'G', 'U']

Ex Output:

2279, x, 4281, a, 359, 5751, 5267, 1387, 6923, 8561, 9699, 9631, R, 1973, 8697, V, z, 8399, H, 69, Z, 5971