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

Ex Input:
['z', 883, 9795, 4785, 'R', 927, 6697, 'Y', 'a', 'V', 'r', 'x', 'D', '4987', 'p', 'O', 'w', 'g', 'U', '3989', '8321', '9091', '3263', '2091', '2505', '1055', '5617', '2913', '9717', '4691', 'e', 'a', 'o', 'O', 'o', 'o', 'k', 5419], ['L', 4127, 'J', 5701, 'u', 'D', '4987', 'p', 'O', 'w', 'g', 'U', '3989', '8321', '9091', '3263', '2091', '2505', '1055', '5617', '2913', '9717', '4691', 'e', 'g', 'e', 'G', 'U', 4361, 'z', 3019, 'l', 6969, 'z', 1821, 8135, 4831, 4315, 'F', 6801, 185]

Ex Output:
D, 4987, p, O, w, g, U, 3989, 8321, 9091, 3263, 2091, 2505, 1055, 5617, 2913, 9717, 4691, e

Ex Input:
['X', 1863, 6105, 'n', 8419, 6469, 'u', 'p', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'B', 9885], ['l', 'L', 'S', 'p', 'j', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'F', 5539, 'C', 1383, 'n', 9991]

Ex Output:
1641, 1413, 6389, 7069, 1333, q, 9609, D, 843, 2667, 223, 6689

Ex Input:
[3769, 'g', 511, 9819, 'e', 'h', 'L', 1335, 'n', 'l', 1955, 'c', 'b', 6735, 3929, 1577, 'w', 4981, 79, 1285, '1717', 'b', 'P', '8009', 'l', '827', 'Y', '5439', 'b', 'v', '5533', 'R', 'x', 'R', '6845', '2185', 'B', '9769', 'P', 'T', 't', '9133', 'u', '3917', '3151', '3685', '8377', '5513', 'T', 5529, 2073, 8859, 1867, 'P', 'M', 'O', 8037, 'a', 'w', 'a', 4921, 5345, 2765, 'c', 'p'], [2865, 'G', 7311, 's', 4951, 'V', 1059, '1717', 'b', 'P', '8009', 'l', '827', 'Y', '5439', 'b', 'v', '5533', 'R', 'x', 'R', '6845', '2185', 'B', '9769', 'P', 'T', 't', '9133', 'u', '3917', '3151', '3685', '8377', '5513', 's', 'C', 3195, 1537, 'S', 6023]

Ex Output:
1717, b, P, 8009, l, 827, Y, 5439, b, v, 5533, R, x, R, 6845, 2185, B, 9769, P, T, t, 9133, u, 3917, 3151, 3685, 8377, 5513