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

[EX Q]: [6123, 'S', '9109', '8921', 'a', '8063', '485', '6043', '5895', 'B', '2463', 'Y', 'e', 'J', 'f', 'A', '2055', 'V', 't', 'L', 'E', 'i', '5983', 'h', '8721', 'E', 't', 7923, 'F', 7937, 'n', 'J', 6811, 'o', 985, 3321, 't', 'k', 1817, 2563, 'a', 'l', 'i', 6063, 4935, 'S'], [8811, 'o', 6787, 'Z', 'm', 6351, 'M', 'B', 'Q', '9109', '8921', 'a', '8063', '485', '6043', '5895', 'B', '2463', 'Y', 'e', 'J', 'f', 'A', '2055', 'V', 't', 'L', 'E', 'i', '5983', 'h', '8721', 'q', 'f', 'q', 9801, 'E', 'Q', 8995, 'r', 3495, 5973, 'g', 'L', 127, 8625, 1555, 'j', 1373, 'm', 1169]
[EX A]: 9109, 8921, a, 8063, 485, 6043, 5895, B, 2463, Y, e, J, f, A, 2055, V, t, L, E, i, 5983, h, 8721

[EX Q]: ['z', 2719, 'i', 'l', 'Z', 'u', '6823', 'g', '1665', 'e', 'L', 'A', 6591, 'F'], [4147, 'T', 'Z', 'u', '6823', 'g', '1665', 'd', 8245, 'i']
[EX A]: Z, u, 6823, g, 1665

[EX Q]: ['r', 'g', '997', 'n', '631', '527', 'E', 'A', 'n', 'n', 'G', '1197', 'R', 'L', 'G', 'N', 2585], ['X', 5347, 'M', 'Z', 4615, '997', 'n', '631', '527', 'E', 'A', 'n', 'n', 'G', '1197', 'R', 'L', 'P', 'o']
[EX A]:
997, n, 631, 527, E, A, n, n, G, 1197, R, L