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

[Q]: ['t', 'f', 3791, 2099, '3895', '5725', '7743', '9219', 'c', '6319', '3099', '3601', 'a', '2943', '2543', '51', 'r', 'w', '2379', '5423', '5807', 'l', 'b', 'f', 'i', 2371, 'W', 'c', 'c', 'l', 5505, 'L', 'w', 'a'], ['s', 5505, 'h', 4601, 4713, 6191, 't', 9213, 'D', 1777, 'E', '3895', '5725', '7743', '9219', 'c', '6319', '3099', '3601', 'a', '2943', '2543', '51', 'r', 'w', '2379', '5423', '5807', 'l', 'v', 5275, 'C', 'Y', 3371, 7105, 411, 'f', 8409]
[A]: 3895, 5725, 7743, 9219, c, 6319, 3099, 3601, a, 2943, 2543, 51, r, w, 2379, 5423, 5807, l


[Q]: [5367, 7499, 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'o', 'M', 'T', 'q', 'J', 't', 3991], [3847, 'h', 8145, 'z', 'C', 6061, 5347, 'U', 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'w', 5279, 4553]
[A]: a, 3619, 5119, 4219, 769, 8735, 6417, V, W


[Q]: [9117, 1907, 'H', 3211, 'Z', 4945, 9343, 'E', 'D', 'x', 77, 4485, 'C', 'w', 'x', 'd', 'i', 'U', '545', '6681', 'n', 'Q', '3085', '1997', '393', '9335', '8387', '8729', '821', '2379', 'i', 8253, 'h', 'E', 6305, 7001, 1663, 2465, 'Q', 'W', 2431, 'o', 'T', 3145, 'k'], [6737, 8753, 3405, 'M', 'v', 9407, 7749, 3777, 2915, 'a', 381, 'q', 'H', 'x', 'd', 'i', 'U', '545', '6681', 'n', 'Q', '3085', '1997', '393', '9335', '8387', '8729', '821', '2379', 'w', 3527, 4373, 1593, 7633, 'B', 5515, 2569, 'A', 9961, 'j', 6009, 'U']
[A]:
x, d, i, U, 545, 6681, n, Q, 3085, 1997, 393, 9335, 8387, 8729, 821, 2379