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

Ex Input:
['c', 'N', 9495, 305, 1779, 7447, 8519, 2777, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'A', 'p', 'k', 'h', 'A', 7013, 509, 'G'], ['V', 2467, 9505, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'W', 4557, 's', 4431]

Ex Output:
2205, 2411, 4203, g, V, 8037, h, 5963, L, 715


Ex Input:
[1229, 2165, 9405, 7393, 'c', 6613, 987, 9213, 9841, 1761, 977, 'X', 'w', 6301, 'h', 7313, 471, 9743, 8297, 'U', 5599, 'V', 'r', 'D', 'D', '5085', 'Z', 'E', '7057', 'r', '9905', '5733', 'M', 'z', 'v', 'C', 'u', 'A', '5577', '5937', 'Z', '4509', '4005', 'Z', 'a', 'F', '6315', '5875', 'c', 'A', 'l', 'I', 'F', 'd', 'Z', 'B', 2909, 'J', 7945, 4375, 'i'], ['u', 7037, 'F', 'P', 'p', 3491, 4945, 4199, 'Z', 9041, 'K', 7385, 'F', 275, 6533, 'x', 'O', 9603, 8641, 'G', 6723, 'L', 'S', 'D', '5085', 'Z', 'E', '7057', 'r', '9905', '5733', 'M', 'z', 'v', 'C', 'u', 'A', '5577', '5937', 'Z', '4509', '4005', 'Z', 'a', 'F', '6315', '5875', 'A', 'q', 4411, 3045, 'A', 933, 7623, 'w']

Ex Output:
D, 5085, Z, E, 7057, r, 9905, 5733, M, z, v, C, u, A, 5577, 5937, Z, 4509, 4005, Z, a, F, 6315, 5875


Ex Input:
[4473, 9577, 'L', 'i', 's', 7507, 5303, 'I', 'Y', 3629, 'r', 'W', 'N', 9581, 2067, 9911, 't', 'Z', '8317', '7641', 't', 'p', 'O', '9881', 'r', '1603', 'b', 'N', 'W', '6589', '6775', '4223', '5091', 'X', 'b', '6183', 'v', 859, 'w', 'D', 'U', 4469, 9775, 'T', 5349, 'y', 'R', 3783, 'L'], [9567, 'x', 9475, 1091, 'S', 5597, 6503, 'B', 'b', 'Z', '8317', '7641', 't', 'p', 'O', '9881', 'r', '1603', 'b', 'N', 'W', '6589', '6775', '4223', '5091', 'X', 'b', '6183', 'g', 2507, 3461, 2555]

Ex Output:

Z, 8317, 7641, t, p, O, 9881, r, 1603, b, N, W, 6589, 6775, 4223, 5091, X, b, 6183