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]: [1307, 'u', 'Z', 3323, 191, 'i', 'h', 't', 'L', '8549', '7861', '9747', '3985', 'g', 'r', '1247', 'R', 'S', 'a', 'a', '749', 'C', 'M', 'y', 'h', 7985, 9989, 'j'], [2817, 1955, 2973, 'Y', 9221, 'z', '8549', '7861', '9747', '3985', 'g', 'r', '1247', 'R', 'S', 'a', 'a', '749', 'G', 'M', 2083, 'O']
[EX A]: 8549, 7861, 9747, 3985, g, r, 1247, R, S, a, a, 749

[EX Q]: [2765, 7379, 3807, 'd', 541, 8729, 'u', 'C', 'L', 'X', 'f', 'd', '4541', 'b', 'a', 'o', 7565], [7621, 2063, 1407, 'P', 6175, 'P', 'C', 'L', 'X', 'f', 'd', '4541', 'b', 'a', 'F', 6905, 'G', 'z', 'b', 7003, 5421]
[EX A]:
C, L, X, f, d, 4541, b, a