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

[EX Q]: [9577, 'v', 2595, 7901, 5205, 'Z', 2647, 'm', 't', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'i', 9823, 5731, 'd', 'u', 1461, 'Z', 9415, 541, 'T', 'A', 'G', 7275], [9731, 4061, 'V', 'k', 9589, 'v', 'k', 7917, 'x', 'B', 'z', 31, 'K', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'n', 'J', 'g', 8859, 195, 'l']
[EX A]: h, 6209, 6325, B, 8879, 1137, 7837, 1819, S, 2249, i, L, 3729

[EX Q]: ['D', 5293, 8083, 'l', 'h', 'z', 'z', 8523, 'X', 3949, 8901, 'h', 'g', 8369, 2775, 'i', 's', 'O', 'd', 'h', '5371', 'v', '3935', '7421', 'd', 'Z', 'B', '8599', '4191', '9961', 'Z', 'o', 'C', 'a', 'O', 'b', '7945', 'L', 'e', 'a', 'w', 't', 6573, 's', 2249], [5797, 'n', 'H', 1123, 'i', 's', 'O', 'd', 'h', '5371', 'v', '3935', '7421', 'd', 'Z', 'B', '8599', '4191', '9961', 'Z', 'o', 'C', 'a', 'O', 'b', '7945', 'p', 'E', 'P', 'R', 'Z', 'G', 5959, 1975, 9121, 'G', 'q', 'i', 3739, 'e', 'y', 'T', 1215, 'r', 9759, 6597]
[EX A]: i, s, O, d, h, 5371, v, 3935, 7421, d, Z, B, 8599, 4191, 9961, Z, o, C, a, O, b, 7945

[EX Q]: ['Z', 'n', 5923, 3367, 3089, 'j', 3771, 'P', 4085, 'C', 7809, 'u', 'u', 2877, 'g', '521', '1021', 'h', '2847', '155', 'n', '825', '6395', '359', 'G', '3769', '2107', 'o', '1813', '5381', '5975', '4501', 'T', 'x', 'e', 'K', 's', '5327', '1619', '1607', 'y', '4237', '5077', '5483', '5663', 'k', 'P', 'V', 'j', 8839, 635, 2487, 'c', 'i', 'J', 6601, 'K', 7321, 2075, 5469], [5351, 'Q', 2537, 'h', 1493, 8259, 9855, 'G', 's', 7193, 6989, 'Q', 'm', 6011, 'C', 'R', 'n', 8499, '521', '1021', 'h', '2847', '155', 'n', '825', '6395', '359', 'G', '3769', '2107', 'o', '1813', '5381', '5975', '4501', 'T', 'x', 'e', 'K', 's', '5327', '1619', '1607', 'y', '4237', '5077', '5483', '5663', 'j', 9953, 'm']
[EX A]:
521, 1021, h, 2847, 155, n, 825, 6395, 359, G, 3769, 2107, o, 1813, 5381, 5975, 4501, T, x, e, K, s, 5327, 1619, 1607, y, 4237, 5077, 5483, 5663