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

Ex Input:
[2785, 'M', 'd', 8001, 'z', 'G', 5661, 2853, 9397, 4757, 'b', 'f', 989, 'U', 'K', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'P', 'G', 'v', 4813, 'G', 6799, 9011, 'z', 4267], ['T', 'j', 'I', 6037, 'w', 'g', 3555, 9897, 9741, 5673, 5825, 407, 2157, 6461, 6095, 4477, 'Y', 'Y', 1773, 'N', 4151, 'j', 2911, 7543, 'b', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'C', 9075, 'j', 'o', 9087, 3137, 'G', 'j', 'p', 'd', 'N', 2085, 831, 1041, 1181, 'Y', 9409, 2267, 'q', 'w', 'w', 'O', 7523]

Ex Output:
3583, 4559, 2581, n, t, s, 987, o, 5487, c, E, 4505, 6765, 8305, N, s, 9393, q, r, 5487, 6365, 9377, M, 6661, 8579, 9899, x, 5739


Ex Input:
['c', 'h', 9399, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'i', 'W', 'T', 9917, 'F', 'g', 8159], [4949, 'I', 'r', 4087, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'z', 9843]

Ex Output:
U, e, 1183, 9537, K, e, p


Ex Input:
['p', 8619, 8057, 6241, 'R', 7203, 7187, 'B', 'q', 9635, 'P', 2749, 4423, 1837, 'g', 'Z', '7475', 'P', '1321', '8503', 'B', '6405', '2461', '8415', 'n', '927', 'b', '5037', '91', '9315', '2225', 'Y', 'U', 'J', 'E', '1665', '3771', '6837', '2025', '4089', '8153', 'Z', 'o', 8023, 'd', 8273, 10017, 1563, 'M', 7305, 639, 1943, 8707, 'l', 9619, 'o', 6519], [8655, 9437, 8875, 1351, 'A', 4639, 'V', 6401, 'c', 297, 'B', 4401, 'L', 'b', 4927, 107, 4943, 'Y', 8265, 'x', 2179, 'Y', 3719, 'p', 3661, 'Z', '7475', 'P', '1321', '8503', 'B', '6405', '2461', '8415', 'n', '927', 'b', '5037', '91', '9315', '2225', 'Y', 'U', 'J', 'E', '1665', '3771', '6837', '2025', '4089', '8153', 'Z', 't', 5051, 9603, 'W', 'g', 2173, 'X', 'o', 'z', 5007, 729, 'L', 2283, 'w', 'i', 2899, 3469]

Ex Output:

Z, 7475, P, 1321, 8503, B, 6405, 2461, 8415, n, 927, b, 5037, 91, 9315, 2225, Y, U, J, E, 1665, 3771, 6837, 2025, 4089, 8153, Z