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

[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

[EX Q]: [737, 'z', 4401, 6317, 't', 'B', 3815, 'm', 'G', '8709', '4749', 'J', '8885', 'k', 'Y', '3083', 'X', '8267', 'T', 'A', 'A', '7049', '6681', '6111', 's', 't', 'h', 1687, 'T', 'O', 'A', 'r', 'U', 6703, 'u', 'm', 1571, 'J', 2289, 8279], [5617, 'D', 'p', '8709', '4749', 'J', '8885', 'k', 'Y', '3083', 'X', '8267', 'T', 'A', 'A', '7049', '6681', '6111', 's', 'n', 5571, 8277, 'D', 1885, 7949, 3767, 'o', 'K', 5755, 'v', 9117, 's', 'b']
[EX A]: 8709, 4749, J, 8885, k, Y, 3083, X, 8267, T, A, A, 7049, 6681, 6111, s

[EX Q]: ['O', 'F', 1949, 'z', '7129', '7757', '8677', 'N', '6871', '8113', '3633', '7505', 'K', '7617', 'V', 'h', 'L', 'Q', '1195', '8507', 'i', '343', '4547', '9189', 'q', '7913', '3383', 'D', '289', 'q', 'M', 'X', 2145, 4345, 'm', 'v', 'F', 'u', 'b', 'Z', 6963, 'i', 'h', 'J', 'V', 'b', 7015, 4365, 'n', 523, 'W', 2729, 'C', 't', 'e', 'j'], [157, 'W', 7975, 6761, 'H', 1983, 'F', 's', 's', 3749, 3927, 5983, 'm', 7131, 'B', 1527, 6995, 'p', 9077, 'n', '7129', '7757', '8677', 'N', '6871', '8113', '3633', '7505', 'K', '7617', 'V', 'h', 'L', 'Q', '1195', '8507', 'i', '343', '4547', '9189', 'q', '7913', '3383', 'D', '289', 'q', 'U', 3937, 5405, 'y', 'a', 's', 135]
[EX A]:
7129, 7757, 8677, N, 6871, 8113, 3633, 7505, K, 7617, V, h, L, Q, 1195, 8507, i, 343, 4547, 9189, q, 7913, 3383, D, 289, q