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

[Q]: ['r', 187, 'm', 'S', 'z', 5311, 'Y', 'h', 'y', 'F', 'n', 'h', 'V', '5467', 'C', 'd', '2611', '3895', 'h', 'W', 'T', '7115', 'N', '4227', '2001', 'b', 'n', 'P', 'k', 5257, 'A', 'm', 'q', 'Q', 'n', 'n', 'd'], [5561, 8887, 7269, 'z', 7529, 4645, 'V', '5467', 'C', 'd', '2611', '3895', 'h', 'W', 'T', '7115', 'N', '4227', '2001', 'y', 1507, 'z', 'a']
[A]: V, 5467, C, d, 2611, 3895, h, W, T, 7115, N, 4227, 2001


[Q]: [2255, 4205, 'U', '7567', 'k', 5167], ['Q', 9439, 'U', '7567', 'H', 1307]
[A]: U, 7567


[Q]: ['R', 'g', 'i', 9271, 8243, 'J', '8587', '357', 'b', '6459', '5739', '3763', '5633', 'u', 'M', 769, 3239, 'h', 'm'], [2763, 'z', 'P', 'b', 639, 'i', 'J', '8587', '357', 'b', '6459', '5739', '3763', '5633', 'u', 'G', 9357, 'q', 'C', 'R', 7793, 'x', 'p', 'B']
[A]:
J, 8587, 357, b, 6459, 5739, 3763, 5633, u