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

Example Input: [9605, 301, 3815, '3555', '8399', '2421', '6579', 'I', 'g', 's', 'a', 'T', 'w', 7419, 1721, 3853, 5703], ['J', 1425, 3627, 3619, '3555', '8399', '2421', '6579', 'I', 'g', 's', 'Y', 'R', 4039, 'y']
Example Output: 3555, 8399, 2421, 6579, I, g, s

Example Input: [2185, 'H', 9933, 6987, 'l', 'N', 3787, 'H', 'K', 'X', 'I', '8517', 'a', 'M', 'e', '7443', '185', '6897', '8395', '3867', '4671', 'e', '2031', '877', 'T', '735', '1273', 'd', '7757', '2005', 't', 8763, 2723, 457, 8941, 9919], [2819, 4477, 'x', 'S', 'D', 1309, 4739, 'B', 'Z', 'K', 7141, 'I', 'x', 6709, 'p', 5629, 'M', 8669, 3157, 5169, 9737, 'Z', 'H', 'K', 'X', 'I', '8517', 'a', 'M', 'e', '7443', '185', '6897', '8395', '3867', '4671', 'e', '2031', '877', 'T', '735', '1273', 'd', '7757', '2005', 'w', 'j', 5143, 6859, 8985, 8441, 'K', 'H', 's']
Example Output: H, K, X, I, 8517, a, M, e, 7443, 185, 6897, 8395, 3867, 4671, e, 2031, 877, T, 735, 1273, d, 7757, 2005

Example Input: [703, 'W', 1497, 389, 5203, 'Q', 4187, 'w', 6093, 'q', '5229', 'e', 'V', '7163', 'c', 'M', '323', '7687', '559', '6007', '8845', '5529', 'b', '6191', 'f', 'Z', '2117', '2877', '7219', 'k', 'H', 'G', 4895, 8501, 4553, 'l', 595, 5827, 'p', 'D', 'X'], [3909, 'V', 3155, 4851, 4551, 6713, 'J', 'k', 4443, 'g', 3671, 901, 'q', '5229', 'e', 'V', '7163', 'c', 'M', '323', '7687', '559', '6007', '8845', '5529', 'b', '6191', 'f', 'Z', '2117', '2877', '7219', 'k', 'H', 'b', 1765, 'X', 9823, 1267, 'L', 'd', 'b', 'w', 'a', 'J', 4411, 9701, 'v', 'b', 7833, 6737, 'u', 5231, 6229]
Example Output:
q, 5229, e, V, 7163, c, M, 323, 7687, 559, 6007, 8845, 5529, b, 6191, f, Z, 2117, 2877, 7219, k, H