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

Ex Input:
[7395, 6997, 'Z', 2015, 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'C', 8179, 4675, 'x', 'k', 'V'], ['P', 'A', 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'k', 7667, 3913, 5111, 1215, 'r', 'g']

Ex Output:
v, 4045, F, O, N, k, 6013


Ex Input:
['q', 6247, 7691, 'M', 'i', 3857, 'J', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'a', 8713, 'a', 2717, 'y', 'l', 't', 1815, 9507, 1713, 'N'], ['Z', 7463, 6215, 'r', 43, 'h', 3841, 9317, 'J', 'x', 6735, 'b', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'Q', 'c', 'B', 9989, 'd', 875, 1185, 7121, 5559, 'k', 2289]

Ex Output:
249, j, 3315, Y, q, K, B, h, M, i, 3947, 8559, 1833, q, x, 1469, 7579, 421, F, y, c, 9043, r, N, O, N, Z


Ex Input:
['b', 7325, 6363, 9229, 4781, 6779, 'H', 'e', '6321', '4631', '2463', 'e', 'T', '1719', '5851', '2477', 'O', 'r', '501', '4063', 'Y', 'y', 'J', '7765', 'q', '1175', 'Q', 2589, 851, 'L', 'z', 1489, 'k', 'u', 749, 'A', 'j', 'o', 8725, 'f'], [4541, 3199, 'i', 9789, 'H', 7397, 2589, 8659, 2115, 'Y', 'K', 'n', 5827, 'a', 'r', 'E', 't', 'e', '6321', '4631', '2463', 'e', 'T', '1719', '5851', '2477', 'O', 'r', '501', '4063', 'Y', 'y', 'J', '7765', 'q', '1175', 'f', 'c', 637, 3583, 'X', 295, 3773, 'g', 3543, 4743, 'K', 3041, 6423, 5473, 9943, 227, 9975, 'G', 'z']

Ex Output:

e, 6321, 4631, 2463, e, T, 1719, 5851, 2477, O, r, 501, 4063, Y, y, J, 7765, q, 1175