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

[EX Q]: [5071, 3641, 'a', 'n', 4549, 'K', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 't', 'G', 'L', 3179, 10017, 'p', 1633, 3951, 3277, 'c'], ['k', 3793, 'G', 'z', 'F', 3735, 595, 'c', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 'f', 'u', 9709, 6341, 'N', 'F', 'G', 5533]
[EX A]: 6783, P, 5113, 9801, 4323, u, 4227, G, J, 5259

[EX Q]: ['v', 5121, 'z', 'W', 1293, 9729, 8027, 3479, 6789, 'Z', 'y', 4505, 'm', 99, 6061, 'u', 'j', 4559, 'g', 'I', 6135, 3529, 9603, 'r', 'g', 'L', 'B', '3323', 'f', 'p', 'E', '5487', '7221', 'o', 'n', '1243', 'w', '7275', 'F', '2283', '1589', 'R', '8555', '169', 'S', 'n', 'T', 'i', '2153', '3165', '6921', 'L', 4051], [1601, 'C', 7585, 7943, 2835, 6247, 'r', 5357, 2601, 2317, 10017, 8557, 5535, 'U', 1765, 4085, 1803, 'w', 1967, 'O', 'u', 'p', 3509, 5583, 'u', 485, 935, 'r', 'g', 'L', 'B', '3323', 'f', 'p', 'E', '5487', '7221', 'o', 'n', '1243', 'w', '7275', 'F', '2283', '1589', 'R', '8555', '169', 'S', 'n', 'T', 'i', '2153', '3165', '6921', 'P', 'T', 'T', 1933, 7075]
[EX A]: r, g, L, B, 3323, f, p, E, 5487, 7221, o, n, 1243, w, 7275, F, 2283, 1589, R, 8555, 169, S, n, T, i, 2153, 3165, 6921

[EX Q]: [5389, 2505, 'A', 2937, 6267, 2603, 2837, 349, 'h', '1245', '1445', 'q', '7801', 'E', 'E', '3793', '7013', '1917', '7585', '7357', 'i', '287', 'U', '3901', '4055', '3129', 't', 'm', '1983', '8283', 'I', 't', 4441, 5069, 9791, 'E', 7933, 'L', 3333, 5137], [3207, 'V', 9643, 'e', 'h', '1245', '1445', 'q', '7801', 'E', 'E', '3793', '7013', '1917', '7585', '7357', 'i', '287', 'U', '3901', '4055', '3129', 't', 'm', '1983', '8283', 'O', 'l', 'P', 't', 4343, 'p', 'U', 'V', 1411, 5783, 9919, 3503, 1005, 6783, 'B']
[EX A]:
h, 1245, 1445, q, 7801, E, E, 3793, 7013, 1917, 7585, 7357, i, 287, U, 3901, 4055, 3129, t, m, 1983, 8283