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

[Q]: ['M', 'w', 9985, 4793, 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'b', 9903, 3977, 967, 'i', 'a', 2753, 'L'], [6925, 'w', 1371, 'w', 8257, 't', 6667, 'I', 4609, 5231, 'L', 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'U', 'x', 'w', 'H', 'n', 3339, 3271, 1439, 'A', 6725, 3041, 'R']
[A]: R, 6127, 5051, e, 6973, 5935, e, 8843, 8801, q, 4307, R, 2797, e, 3417, Q, X


[Q]: ['J', 'h', '8587', 'b', 't', 'k'], [8955, 7253, '8587', 'b', 'e', 8655]
[A]: 8587, b


[Q]: ['D', 3041, 'M', 4997, 'T', 7489, 1977, '4417', 'j', '1739', '8883', 'm', '5869', '7809', 'I', 'j', '8135', 'J', 'd', '9853', 'h', 'L', '1309', 'a', '1607', '7955', 'N', 4489], ['M', 2421, 'L', 315, 'L', 2341, 'x', 'S', 'C', 841, 'G', 7785, 4745, 't', '4417', 'j', '1739', '8883', 'm', '5869', '7809', 'I', 'j', '8135', 'J', 'd', '9853', 'h', 'L', '1309', 'a', '1607', '7955', 'V', 'r', 'P', 'd', 9947, 6449, 'S']
[A]:
4417, j, 1739, 8883, m, 5869, 7809, I, j, 8135, J, d, 9853, h, L, 1309, a, 1607, 7955