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

[Q]: [7937, 'O', 't', 'q', 'A', '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'P', 9541, 'K', 'P', 'I', 'd', 2929, 3037, 's', 'o'], [5771, 'e', 6539, 3301, 7501, 1959, 2737, 'W', 347, 'S', 'A', 7789, 1561, 'G', 's', 1703, '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'C', 4525, 2207, 8867, 'D', 'c', 9997, 'f', 'E', 'd', 2503, 527, 's', 'Q', 'Y', 'R', 4405, 'a']
[A]: 5875, 3561, 2131, L, 9023, A, 4107, Y, h, A, 8649, 6349, S, 1841, X, Y, 8859, 2327, x, 6845


[Q]: [4817, 'A', '3155', 'W', 'm', 4061], [7701, 'P', '3155', 'W', 't', 'J']
[A]: 3155, W


[Q]: ['A', 'F', 9173, 'O', 'b', 'k', '8471', '5661', 'p', 'q', '1853', '3697', '4197', 'G', 'Y', '925', 'R', 'O', '6405', '8159', '1871', 'C', 'L', '6403', 'Z', 'P', 'Q', 'e', 'Q', 'q', 'z', 'd', 9003, 'J', 6757, 'K', 'U', 487], [761, 9899, 'Q', 'v', 'D', 'd', 'Q', 'U', 397, 'X', 'j', 2901, 4473, 'W', 9385, 'l', 'a', 'x', 'k', 'k', '8471', '5661', 'p', 'q', '1853', '3697', '4197', 'G', 'Y', '925', 'R', 'O', '6405', '8159', '1871', 'C', 'L', '6403', 'Z', 'P', 'Q', 'm', 'I', 1325, 2265, 525, 'y', 3103, 8277, 7171, 2583, 9053, 9567, 8151, 281, 'S', 'V', 487]
[A]:
k, 8471, 5661, p, q, 1853, 3697, 4197, G, Y, 925, R, O, 6405, 8159, 1871, C, L, 6403, Z, P, Q