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

Ex Input:
['l', 3279, 2027, 5827, 2313, 'v', 'T', 'O', 'E', 4721, 8305, 'D', 'l', 7653, 691, 8635, 9965, 1271, 'c', 'p', '7861', 'j', 'Z', '1625', '4881', '4155', 'h', 'n', 'o', 'd', '3563', 'L', 'x', '9939', '3911', '4255', 'v', '1067', '3399', 'x', 'Z', 4211, 'r', 'a', 2311, 3909, 't', 'w', 9527, 'Z', 'A', 2927], [4809, 'D', 'B', 'w', 6325, 10019, 2381, 4757, 'f', 1485, 2737, 'B', 7953, 'v', 8565, 'f', '7861', 'j', 'Z', '1625', '4881', '4155', 'h', 'n', 'o', 'd', '3563', 'L', 'x', '9939', '3911', '4255', 'v', '1067', '3399', 'x', 'K', 'Q', 'd', 8559, 'p', 5259, 'o', 9663, 'j', 4891, 'm', 'C', 2501, 7067, 1463, 'U', 'p']

Ex Output:
7861, j, Z, 1625, 4881, 4155, h, n, o, d, 3563, L, x, 9939, 3911, 4255, v, 1067, 3399, x


Ex Input:
['Q', 4345, 'U', 6921, 'y', 57, 8287, 8385, 'O', '3359', 'S', '7355', '2263', 'd', 'd', 'i', 't', 'E', 'X', 'V', 2801], [3259, 'S', 'e', 'n', 'c', 'B', 'O', 217, 'O', '3359', 'S', '7355', '2263', 'd', 'd', 'i', 't', 'E', 'j', 'I', 5767, 'X', 8283, 8895, 'd', 8329]

Ex Output:
O, 3359, S, 7355, 2263, d, d, i, t, E


Ex Input:
['i', 'x', 7945, 8217, 8429, 5091, 8127, 'h', 'E', 673, 7197, 'u', 1947, 'C', 'W', 9539, 'z', 'P', 'D', 1537, '4575', '4159', '6509', 'f', '3499', 'U', '8957', 'f', 'A', 'f', '5651', '4369', '9515', 'V', 'J', 'W', 'x', 'l', '359', '7827', 'E', 'y', 'U'], [9533, 'T', 5643, 'i', 'N', '4575', '4159', '6509', 'f', '3499', 'U', '8957', 'f', 'A', 'f', '5651', '4369', '9515', 'V', 'J', 'W', 'x', 'l', '359', '7827', 'E', 'X', 'C', 4553]

Ex Output:

4575, 4159, 6509, f, 3499, U, 8957, f, A, f, 5651, 4369, 9515, V, J, W, x, l, 359, 7827, E