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

[Q]: ['z', 3279, 'C', 'F', 9153, 'E', 417, 'P', 6405, 1849, 4819, 'V', 4497, 2031, 'L', 'g', '8015', 'D', 'b', '3659', 'P', 'm', '6013', '6583', '6705', '8449', 'a', 'X', '2087', 'Y', 'L', 'i', 5651, 'y', 'L', 2993, 2605, 6805, 'w', 5731, 'Q', 9359, 'Y', 4267, 2985], ['F', 'x', 5427, 4915, 2541, 'H', 'S', 8953, 'L', 7911, 'b', 'I', 1945, 859, 'i', 'g', '8015', 'D', 'b', '3659', 'P', 'm', '6013', '6583', '6705', '8449', 'a', 'X', '2087', 'Y', 'N', 1971, 'a']
[A]: g, 8015, D, b, 3659, P, m, 6013, 6583, 6705, 8449, a, X, 2087, Y


[Q]: [2945, 6951, 2771, 'k', 'G', '7377', 'd', 'a', 'p', 'J', 'c', 'R', '6641', 'a', '2235', '3033', '3189', '7299', 'h', 'T', '5111', 'k', 'd', 4197, 'j', 'p', 'z', 1911, 'w', 6663, 7993, 5973, 3193, 7387, 'h', 'e', 8663, 2715], ['U', 'a', 'f', 7179, 7859, 'C', 6081, 2069, 3459, 'm', 'w', 'k', 'q', 'k', 'G', '7377', 'd', 'a', 'p', 'J', 'c', 'R', '6641', 'a', '2235', '3033', '3189', '7299', 'h', 'T', '5111', 'k', 'e', 'v', 'f', 5943, 8771, 'K', 'i', 'c', 'x', 7745, 'F', 'x', 3855, 'S', 5113, 1205]
[A]: k, G, 7377, d, a, p, J, c, R, 6641, a, 2235, 3033, 3189, 7299, h, T, 5111, k


[Q]: [4233, 'R', 3325, 7829, 1627, 'K', 9911, 'P', 'g', 'o', '9291', '9355', 'S', 'g', 'a', 'n', '7917', 'w', 'j', 'l', 5475, 'K'], ['x', 8747, 'o', 4291, 'o', '9291', '9355', 'S', 'g', 'a', 'n', '7917', 'w', 'j', 'G', 'I', 3041]
[A]:
o, 9291, 9355, S, g, a, n, 7917, w, j