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

Ex Input:
['N', 9837, 'S', 'f', 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'z', 'i', 9307, 1877, 1633, 9823, 'u', 'u', 8629, 'M', 411, 135, 'J', 'H', 'b', 'm', 669, 'i', 6935], [685, 6231, 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'n', 2383, 2123, 5545, 'j', 'q', 4387, 2801]

Ex Output:
z, 7671, 5131, 2773, 3435, 2525, 2621, k, 1113, u, 9269, 4517, B, a, R, T, 3077, h, q, z, w

Ex Input:
['s', 1853, 'h', 'T', 'f', 'N', 'c', 643, 8659, 'E', 'v', 'A', 't', 779, 'S', 'p', 'A', '9745', '2013', 'o', '9115', 'Y', 'f', 'l', '9683', '4447', 'G', 'W', '3807', '6689', '3789', '9207', '4683', 's', '6555', '7405', 'F', '7739', '3145', '8895', '2515', 'X', 1613, 't', 'Q', 747, 'F', 9819, 7747, 7059, 509, 1169, 'z', 9807, 4297, 7399, 7009, 'z', 'L', 3495, 'c', 'l', 'd', 'A'], ['C', 4481, 'H', 3327, 7321, '9745', '2013', 'o', '9115', 'Y', 'f', 'l', '9683', '4447', 'G', 'W', '3807', '6689', '3789', '9207', '4683', 's', '6555', '7405', 'F', '7739', '3145', '8895', '2515', 'F', 'o', 'O', 2361, 9341]

Ex Output:
9745, 2013, o, 9115, Y, f, l, 9683, 4447, G, W, 3807, 6689, 3789, 9207, 4683, s, 6555, 7405, F, 7739, 3145, 8895, 2515

Ex Input:
['c', 5169, 3339, 'w', 'W', 9119, 'p', 'B', 9297, 6103, 'X', 1275, 'J', 4759, '6173', '1999', '7363', '5403', '8669', 'p', 'c', 'M', 'L', '9393', 'l', 'x', 'F', '2617', '4439', '3437', 'd', 'p', 'S', 6167, 7483, 3467], ['z', 3905, 889, 1959, 'v', 'R', 4601, 2283, 8287, 'j', 9913, 6737, '6173', '1999', '7363', '5403', '8669', 'p', 'c', 'M', 'L', '9393', 'l', 'x', 'F', '2617', '4439', '3437', 'O', 'E', 'g', 5579, 3235]

Ex Output:
6173, 1999, 7363, 5403, 8669, p, c, M, L, 9393, l, x, F, 2617, 4439, 3437