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

[Q]: [3277, 9365, 4973, 'q', 'S', 6337, 3661, 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'l', 'w', 5939, 6533, 'h', 1877, 10017, 'q'], ['L', 8235, 'n', 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'O', 1591, 'C', 2553, 2613, 'E', 3577, 'u']
[A]: Q, J, c, 3205, 2707, 1869, 1285, z, c

[Q]: [5307, 'b', 'I', '9451', 'W', 7941], [8087, 'U', 'I', '9451', 'g', 'I']
[A]: I, 9451

[Q]: ['Q', 1617, 'J', 'B', 'f', 931, 6715, 7745, 5823, 'I', 'X', 'N', 2527, '8543', '9913', '1683', 'l', '7965', '5707', '7215', 'N', 'v', 'T', '9981', 'r', '4309', 'T', 'h', 3855, 485, 8677, 4945, 'L'], ['B', 8271, 'h', 'e', 5775, 'Q', 2691, '8543', '9913', '1683', 'l', '7965', '5707', '7215', 'N', 'v', 'T', '9981', 'r', '4309', 2259, 1377, 5751, 'm', 2899, 4797, 'i', 5681, 'w', 'j']
[A]:
8543, 9913, 1683, l, 7965, 5707, 7215, N, v, T, 9981, r, 4309