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

[Q]: [8471, 8309, 'g', 'f', 5019, 'd', 8129, 'r', 'e', 'l', 'B', '7297', 'c', '2785', '919', 'B', '5459', 'L', 5985, 2953, 6897, 'n', 9209, 3281, 'w', 4011, 't'], ['g', 7529, 'q', 6213, 'c', 'l', 6053, 'r', 'e', 'l', 'B', '7297', 'c', '2785', '919', 'B', '5459', 'B', 2159, 7633, 8707]
[A]: r, e, l, B, 7297, c, 2785, 919, B, 5459


[Q]: [6161, 9929, 'e', 2649, '8399', 'W', 'G', 'l', '3443', 'W', 'F', 'J', 'g', 'r', 'R', '41', 'c', 'c', '87', 'N', '7757', '2641', 'Z', 'v', 'g', '1365', 'R', '6435', 'J', 'Y', 3203, 5389], ['x', 'p', 7335, 4343, 'R', 6755, 'Q', 8319, 'N', 4111, 'a', 'M', 'n', 5739, 'j', 3435, 'J', 6645, 'O', 4833, '8399', 'W', 'G', 'l', '3443', 'W', 'F', 'J', 'g', 'r', 'R', '41', 'c', 'c', '87', 'N', '7757', '2641', 'Z', 'v', 'g', '1365', 'R', '6435', 'P', 'q', 549]
[A]: 8399, W, G, l, 3443, W, F, J, g, r, R, 41, c, c, 87, N, 7757, 2641, Z, v, g, 1365, R, 6435


[Q]: [3153, 8173, 'O', 3969, 3795, 7313, 's', 1269, '9663', 'P', '5565', 'q', 's', '2629', '4715', '7441', '6065', 'm', '5469', '8121', 'n', 'a', 'T', 'U', 'X', 3309, 5457, 8165], [5753, 9247, 'H', 'L', '9663', 'P', '5565', 'q', 's', '2629', '4715', '7441', '6065', 'm', '5469', '8121', 'n', 'a', 'T', 'U', 'I', 'X', 'R', 201, 8921, 'l', 'F', 'g', 'l', 'K', 'h', 's', 'T', 'O', 'h', 1823]
[A]:
9663, P, 5565, q, s, 2629, 4715, 7441, 6065, m, 5469, 8121, n, a, T, U