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

[EX Q]: ['c', 'G', 8225, 6329, '6291', '5279', 'n', 'A', 'J', 'n', 5221, 'r', 't'], ['k', 'M', 'Z', 'B', 4003, '6291', '5279', 'n', 'A', 'J', 'g', 'm']
[EX A]: 6291, 5279, n, A, J

[EX Q]: [6161, 9929, 'e', 2649, '8399', 'W', 'G', 'l', '3443', 'W', 'F', 'J', 'g', 'r', 'R', '41', 'c', 'c', '87', 'N', '7757', '2641', 'Z', 'v', 'g', '1365', 'R', '6435', 'J', 'Y', 3203, 5389], ['x', 'p', 7335, 4343, 'R', 6755, 'Q', 8319, 'N', 4111, 'a', 'M', 'n', 5739, 'j', 3435, 'J', 6645, 'O', 4833, '8399', 'W', 'G', 'l', '3443', 'W', 'F', 'J', 'g', 'r', 'R', '41', 'c', 'c', '87', 'N', '7757', '2641', 'Z', 'v', 'g', '1365', 'R', '6435', 'P', 'q', 549]
[EX A]: 8399, W, G, l, 3443, W, F, J, g, r, R, 41, c, c, 87, N, 7757, 2641, Z, v, g, 1365, R, 6435

[EX Q]: [5035, 8437, 'J', 'h', '1487', '1903', 'd', 'g', '3483', '441', 'd', 'q', '727', 'd', '7133', 'p', 'i', 'x', '5903', '9385', 'x', '2569', 'F', 'S', 'F', 1049, 2821, 'T', 1027, 'B', 'a', 2031, 4347, 4305], ['f', 7813, 'y', 'R', 'v', 7281, 'A', 851, 'B', 'E', 'j', 'l', '1487', '1903', 'd', 'g', '3483', '441', 'd', 'q', '727', 'd', '7133', 'p', 'i', 'x', '5903', '9385', 'x', '2569', 'F', 'P', 503, 'D', 367, 9527, 'P', 'V']
[EX A]:
1487, 1903, d, g, 3483, 441, d, q, 727, d, 7133, p, i, x, 5903, 9385, x, 2569, F