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:
[319, 1325, 9567, 'M', 'm', 1759, 't', 'Z', 'X', 7981, 2409, 5023, 'b', '8661', '6609', '8213', 'Y', '9541', '8065', 'M', '8267', 'V', 'K', '3217', '1111', '1411', 'u', '9705', 'V', 'U', '3171', '4195', 'Z', 't', 'p', 'I', 5289, 1221, 'k', 5727, 5411, 7127, 'F', 'J', 'o', 7587, 'm', 237, 415, 8413, 'j'], ['O', 5043, '8661', '6609', '8213', 'Y', '9541', '8065', 'M', '8267', 'V', 'K', '3217', '1111', '1411', 'u', '9705', 'V', 'U', '3171', '4195', 'Z', 't', 'p', 'v', 5793]

Ex Output:
8661, 6609, 8213, Y, 9541, 8065, M, 8267, V, K, 3217, 1111, 1411, u, 9705, V, U, 3171, 4195, Z, t, p

Ex Input:
[3279, 'y', 'P', 'z', 'Q', 4043, 789, 5815, 'R', 4907, 'q', 'J', 755, 'P', 'K', 9347, 9373, 4963, 8241, 4569, 5743, 'k', '1879', 'k', '2359', '7235', 'Q', 'x', 'h', 'C', '8845', 'Q', '9305', 'Z', '641', 'O', 'S', '7801', '1457', 'z', 'F', '2455', '2865', '6759', 'e', 'Z', 511, 8577, 6487, 'D', 'k', 'N', 'F', 7597, 'W', 681], ['P', 7513, '1879', 'k', '2359', '7235', 'Q', 'x', 'h', 'C', '8845', 'Q', '9305', 'Z', '641', 'O', 'S', '7801', '1457', 'z', 'F', '2455', '2865', '6759', 'K', 'z', 9701, 9415, 'k', 2901, 'T', 'J', 'H', 7749, 'Q', 8821, 7731, 4005, 9665, 'r', 'W', 'R', 3505, 8403]

Ex Output:
1879, k, 2359, 7235, Q, x, h, C, 8845, Q, 9305, Z, 641, O, S, 7801, 1457, z, F, 2455, 2865, 6759