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

Ex Input:
[9575, 'B', 2013, 'J', 'e', 7839, 1517, 1505, 'T', 1109, 5639, 'o', '4409', 'L', '9207', '2481', 'W', '5287', 'h', 'b', 'h', 'T', 'g', 'k', '5867', 'p', '3705', '1257', '4107', '3389', 'a', 'r', 'j', 3455, 4281, 7515, 2685, 617, 'M', 'f', 1943, 2675, 'L', 'U'], [1429, 2865, 'Y', 745, '4409', 'L', '9207', '2481', 'W', '5287', 'h', 'b', 'h', 'T', 'g', 'k', '5867', 'p', '3705', '1257', '4107', '3389', 'a', 'r', 'F', 'r', 'w', 3275, 'x', 'y', 'R', 'N', 'P', 4961, 'm', 'v', 'L', 'g', 'B']

Ex Output:
4409, L, 9207, 2481, W, 5287, h, b, h, T, g, k, 5867, p, 3705, 1257, 4107, 3389, a, r


Ex Input:
[9577, 'v', 2595, 7901, 5205, 'Z', 2647, 'm', 't', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'i', 9823, 5731, 'd', 'u', 1461, 'Z', 9415, 541, 'T', 'A', 'G', 7275], [9731, 4061, 'V', 'k', 9589, 'v', 'k', 7917, 'x', 'B', 'z', 31, 'K', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'n', 'J', 'g', 8859, 195, 'l']

Ex Output:
h, 6209, 6325, B, 8879, 1137, 7837, 1819, S, 2249, i, L, 3729


Ex Input:
['F', 'g', 'K', 'D', 'e', 'g', 'X', 'n', 6679, 3009, 'r', 2701, '5367', '2427', '7801', '1475', 'E', '403', 'r', 'E', 'U', '9743', 'f', 'l', '6915', 'J', 'V', 'J', 1713], ['e', 4397, 1719, 8335, 3921, 'D', 9425, 'o', 3477, '5367', '2427', '7801', '1475', 'E', '403', 'r', 'E', 'U', '9743', 'f', 'l', '6915', 'O', 'Z', 1177, 7225, 5169, 2429, 'Z', 4817, 'z', 8945]

Ex Output:

5367, 2427, 7801, 1475, E, 403, r, E, U, 9743, f, l, 6915