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]: ['t', 845, 'T', '5285', '7837', 'N', 6717], [7211, 7903, 'U', 'T', '5285', '7837', 'D', 'U', 'R']
[EX A]: T, 5285, 7837

[EX Q]: ['U', 1139, 'p', '5169', '127', '4281', '8167', 'r', 'y', 'D', 'J'], [5493, 'y', '5169', '127', '4281', '8167', 'o', 'F', 'x', 'j']
[EX A]:
5169, 127, 4281, 8167