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

[Q]: [8271, 'H', 'n', 1303, 'P', 'Z', '8927', 'S', 'Z', 'e', '3463', '5487', 'w', 'H', '1071', 'q', '7193', '2751', '1963', 'I', 'H', 'F', '6399', '1589', '1063', 'T', '9211', 'w', '9069', '5757', '2431', 'G', 'z', 'H', 'Z', 'R', 'Z', 17], [6877, 4677, 'A', 623, 'g', 151, 'u', 5045, 1867, 'E', 'M', 1153, 237, 4623, 4963, 'B', 'M', 8311, 6637, 'P', 'Z', '8927', 'S', 'Z', 'e', '3463', '5487', 'w', 'H', '1071', 'q', '7193', '2751', '1963', 'I', 'H', 'F', '6399', '1589', '1063', 'T', '9211', 'w', '9069', '5757', '2431', 'G', 'd', 4251, 'F', 'O', 'J', 4171, 7565, 'F', 9551, 4139]
[A]: P, Z, 8927, S, Z, e, 3463, 5487, w, H, 1071, q, 7193, 2751, 1963, I, H, F, 6399, 1589, 1063, T, 9211, w, 9069, 5757, 2431, G


[Q]: ['f', 8855, 'N', 8821, 10001, 6833, 'R', 'I', 1167, 87, 'Y', 'H', 673, '4021', 'S', '3407', 'z', '895', 'j', '9897', 'U', '3747', 'S', 'p', 'v', 'y', 'c', 'd', 'U', 143, 'k', 9757, 943, 'C', 'q', 'u', 'n', 1545, 941], ['T', 7625, 'Y', 'j', 'O', 3075, '4021', 'S', '3407', 'z', '895', 'j', '9897', 'U', '3747', 'S', 'p', 'v', 'y', 'v', 'D', 'g', 'o', 'O', 2255, 'a', 5303, 569, 5721, 'S', 5411, 'E']
[A]: 4021, S, 3407, z, 895, j, 9897, U, 3747, S, p, v, y


[Q]: [8339, 'B', 'h', 'v', 'W', 'Y', 5617, 2005, 'd', 'E', 1721, 'q', '9663', '8741', 'n', 'a', '6049', 'e', '3909', 'x', 't', '3417', 'A', '8351', '6245', 'k', 6621, 'k'], ['D', 8267, 347, 739, 4959, 'd', '9663', '8741', 'n', 'a', '6049', 'e', '3909', 'x', 't', '3417', 'A', '8351', '6245', 'i', 2747]
[A]:
9663, 8741, n, a, 6049, e, 3909, x, t, 3417, A, 8351, 6245