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

[EX Q]: [5225, 'L', 1023, 8623, 'k', 'f', '1481', 'e', 'm', '4013', 'l', '831', 'n', '3137', 'b', 517], [1243, 't', '1481', 'e', 'm', '4013', 'l', '831', 'n', '3137', 'x', 5545, 's', 'a']
[EX A]: 1481, e, m, 4013, l, 831, n, 3137

[EX Q]: [8377, 'Q', 5191, 'h', 2277, 2989, 'W', '7491', '593', '335', '4807', 'X', '6677', 'M', 'p', 'Y', '7747', 'j', '7155', '3591', '7715', 'I', '4975', '4979', '6273', '9479', 'w', '1781', 'q', 'L', 8201, 'e', 585, 'h', 'G', 'T', 3401, 'd', 'l', 'o'], [8059, 'f', 'D', 'l', 7863, 'k', 'G', 'C', 'd', 'Z', 'Z', 'A', 895, '7491', '593', '335', '4807', 'X', '6677', 'M', 'p', 'Y', '7747', 'j', '7155', '3591', '7715', 'I', '4975', '4979', '6273', '9479', 'w', '1781', 'x', 'v', 4061, 'O', 'd', 'q', 'r', 1301, 4515, 4365, 1631, 'N', 'L', 6353, 'k', 2393, 4333, 3241, 1043]
[EX A]: 7491, 593, 335, 4807, X, 6677, M, p, Y, 7747, j, 7155, 3591, 7715, I, 4975, 4979, 6273, 9479, w, 1781

[EX Q]: ['v', 'N', 6631, 8793, 2759, 'r', 5467, 'K', 2823, 'U', 'S', 2195, 5129, 'Q', 7777, '5767', '8347', '1943', '6009', 'l', '1915', '4053', 'x', 'g', 'q', '1405', '1401', 'C', 'H', 'G', 'f', '3597', 'L', '6333', '571', '4195', '4933', '3297', '1753', 'r', 8681, 4157, 3215, 8985, 5377, 9009, 'F', 4197, 'r'], ['w', 9819, 'P', 'l', 'F', 8445, 105, 'A', 8069, 4241, 9977, 'S', 3825, 'N', 'g', 5377, 'd', 'W', '5767', '8347', '1943', '6009', 'l', '1915', '4053', 'x', 'g', 'q', '1405', '1401', 'C', 'H', 'G', 'f', '3597', 'L', '6333', '571', '4195', '4933', '3297', '1753', 'A', 'M', 8879, 1785, 'u', 9165, 'O', 'v', 2557, 'Q', 'm', 'y', 3283, 497, 1279, 'D', 'p', 'K']
[EX A]:
5767, 8347, 1943, 6009, l, 1915, 4053, x, g, q, 1405, 1401, C, H, G, f, 3597, L, 6333, 571, 4195, 4933, 3297, 1753