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

[EX Q]: ['h', 'L', 2481, 8463, 1309, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'o', 'I', 4133, 't', 'i'], ['P', 5497, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'I', 2251, 'p', 's', 'n', 'k', 8259]
[EX A]: 7587, 521, a, 1617, 5245, 5629, 9977

[EX Q]: [127, 'J', 'v', 6999, 'g', 'G', 1965, 'E', 8699, 7579, 9265, 6993, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'L', 851, 9385, 8367, 'J'], [1577, 'y', 121, 6195, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'T', 'M', 'l', 'D', 'z', 9687, 1645, 'W', 1249, 5527, 297]
[EX A]: B, R, I, 8517, V, W, 7777, K, 4475, 2323, z, 7003, h, q, T, 6623

[EX Q]: [4621, 3883, 8895, 'X', 'e', 2599, 1741, 'V', 'f', '7415', 'c', '7075', 'g', 'x', '275', '6131', 'r', '5733', '1135', '2071', '9271', '6185', '8183', '9353', '6863', 'S', '2663', '9835', 'b', 5505, 2529, 6973, 'e', 'C', 6453], [939, 'o', 'o', 'K', 8513, 1865, 'W', 5559, 305, 'M', 'c', 3245, 451, 'd', 8563, 'V', 1239, 3605, 'S', 'Z', 'V', 'f', '7415', 'c', '7075', 'g', 'x', '275', '6131', 'r', '5733', '1135', '2071', '9271', '6185', '8183', '9353', '6863', 'S', '2663', '9835', 'l', 'T', 'F', 'x', 7121, 'G', 6817, 5455, 'a', 7421, 3269, 29, 6651, 'D']
[EX A]:
V, f, 7415, c, 7075, g, x, 275, 6131, r, 5733, 1135, 2071, 9271, 6185, 8183, 9353, 6863, S, 2663, 9835