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]: [5071, 3641, 'a', 'n', 4549, 'K', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 't', 'G', 'L', 3179, 10017, 'p', 1633, 3951, 3277, 'c'], ['k', 3793, 'G', 'z', 'F', 3735, 595, 'c', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 'f', 'u', 9709, 6341, 'N', 'F', 'G', 5533]
[EX A]: 6783, P, 5113, 9801, 4323, u, 4227, G, J, 5259

[EX Q]: ['K', 9823, 3581, 'n', 'l', 'j', 'Y', 'a', '2519', 'Y', 'b', 'k', 'v', '1199', 'J', 'f', 'u', '5137', '9329', 'd', 'P', 'x', 'W', 'i', 4735, 'O', 7071, 4263, 'H', 9729, 'B', 'd', 8181, 1071, 3181, 'k', 'R', 9979, 'c', 'F', 5527, 5287, 7071], ['U', 'w', 'F', 'C', 'w', 1111, 'R', 'U', 3195, 'S', 7981, 8679, 3925, 'x', 'n', 'l', 'j', 'Y', 'a', '2519', 'Y', 'b', 'k', 'v', '1199', 'J', 'f', 'u', '5137', '9329', 'd', 'P', 'x', 'W', 'p', 'd', 'x', 'B', 'T', 7041, 753, 1375]
[EX A]:
n, l, j, Y, a, 2519, Y, b, k, v, 1199, J, f, u, 5137, 9329, d, P, x, W