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

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:
['U', 'S', 1413, 'O', 'j', 5221, 6645, 7877, 5445, 'K', 7223, 'u', 'J', 'U', 'Q', 'F', '1723', '639', 's', '4473', 'H', '3351', '7653', '2801', '5123', 'V', '9073', '8733', '7617', '1785', 'j', '7085', '895', 'm', '7831', '5757', '255', 'i', 'n', 9101, 'Q', 6009, 'f', 5025, 5631, 4575, 't', 'u', 8185, 'Z', 1459, 9567, 1549, 9011, 'A', 'k', 'w', 1513, 1063, 8087, 't'], [8547, 'W', 1709, 'c', 'J', 'U', 'Q', 'F', '1723', '639', 's', '4473', 'H', '3351', '7653', '2801', '5123', 'V', '9073', '8733', '7617', '1785', 'j', '7085', '895', 'm', '7831', '5757', '255', 'K', 4041, 6407, 6049, 9859, 4451, 7035, 5861, 323, 3431, 'g', 'X', 'h', 441, 1471, 'I', 343, 1955, 'E', 'K', 7927, 'F', 'S', 'E']

Ex Output:
J, U, Q, F, 1723, 639, s, 4473, H, 3351, 7653, 2801, 5123, V, 9073, 8733, 7617, 1785, j, 7085, 895, m, 7831, 5757, 255


Ex Input:
['b', 7483, 'z', 'B', 9603, 4531, 3493, 'c', 'r', 'T', 'D', 429, 9947, 2545, 2053, 'Z', 6791, 7309, 'g', 'q', '8573', 'j', 'Y', 'y', 'r', '221', 'E', 'l', '6741', '5061', '8759', 'e', '6249', '723', '7609', '749', '1963', '5363', '9981', '3007', '9845', '183', '7471', '393', '17', 'B', '2931', 'C', 'f', 'O', 'q', 'I', 7247, 'F', 1677, 'z', 6177, 'I', 351, 'H', 993, 'e', 9133, 'q', 'Y', 'y', 'T', 5537, 9539], ['q', 'H', 'v', 'a', 'T', 'a', 81, 7005, 8687, 'R', 'S', 1923, 'n', 2961, 'i', 'Q', 'k', 9795, 4717, 9341, 'o', 'w', 2433, 4119, 'e', 1709, 7267, 'U', 'H', 'q', '8573', 'j', 'Y', 'y', 'r', '221', 'E', 'l', '6741', '5061', '8759', 'e', '6249', '723', '7609', '749', '1963', '5363', '9981', '3007', '9845', '183', '7471', '393', '17', 'B', '2931', 'C', 'Q', 1283, 9299, 'g', 'J', 8799]

Ex Output:

q, 8573, j, Y, y, r, 221, E, l, 6741, 5061, 8759, e, 6249, 723, 7609, 749, 1963, 5363, 9981, 3007, 9845, 183, 7471, 393, 17, B, 2931, C