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

[EX Q]: [8555, 1665, 'm', 5361, 2523, 'L', 'T', 'P', 'B', 'q', 'W', '2357', '6563', 'd', '8239', 'p', 'c', 'e', 'd', 'S', 'k', 'H', 'U', 'g', 'j', 'r', 't', 'F', 8547, 1815, 1599, 4083, 'm', 9959, 'R', 'L'], [7829, 'N', 1893, 4933, 9825, 9043, 'B', 'q', 'W', '2357', '6563', 'd', '8239', 'p', 'c', 'e', 'd', 'S', 'k', 'H', 'U', 'g', 'j', 'r', 'C', 'p', 2443, 'Q', 'H', 155, 277, 7833, 8183]
[EX A]: B, q, W, 2357, 6563, d, 8239, p, c, e, d, S, k, H, U, g, j, r

[EX Q]: ['c', 3869, 'X', 9543, 'y', 3435, 'k', 'L', 9191, 'C', 'X', 'U', 'w', 'z', 'y', '6225', 's', '1927', '1777', 'N', '8311', 'B', 'q', 'r', '4829', 'r', '5909', 'e', 'G', 'J', '9631', 'V', 'b', 'G', 'g', 'g', 5369, 7691], ['Z', 'i', 'X', 'U', 'w', 'z', 'y', '6225', 's', '1927', '1777', 'N', '8311', 'B', 'q', 'r', '4829', 'r', '5909', 'e', 'G', 'J', '9631', 'o', 2079, 1461, 633, 3253, 8295, 3637, 'q', 'r', 8737, 'i']
[EX A]: X, U, w, z, y, 6225, s, 1927, 1777, N, 8311, B, q, r, 4829, r, 5909, e, G, J, 9631

[EX Q]: [1021, 8431, 5281, 4621, 'w', 1131, 555, 4485, 'H', '9895', '4303', '5637', '5019', 'D', '9627', 'A', 'C', 'V', 'q', 939, 'j', 'l', 'L', 7445], [5753, 'I', 'B', 5539, 'B', 'H', '9895', '4303', '5637', '5019', 'D', '9627', 'A', 'C', 'A', 'C', 2377, 'z', 'd', 9591, 9561, 'z']
[EX A]:
H, 9895, 4303, 5637, 5019, D, 9627, A, C