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

[Q]: [8377, 'Q', 5191, 'h', 2277, 2989, 'W', '7491', '593', '335', '4807', 'X', '6677', 'M', 'p', 'Y', '7747', 'j', '7155', '3591', '7715', 'I', '4975', '4979', '6273', '9479', 'w', '1781', 'q', 'L', 8201, 'e', 585, 'h', 'G', 'T', 3401, 'd', 'l', 'o'], [8059, 'f', 'D', 'l', 7863, 'k', 'G', 'C', 'd', 'Z', 'Z', 'A', 895, '7491', '593', '335', '4807', 'X', '6677', 'M', 'p', 'Y', '7747', 'j', '7155', '3591', '7715', 'I', '4975', '4979', '6273', '9479', 'w', '1781', 'x', 'v', 4061, 'O', 'd', 'q', 'r', 1301, 4515, 4365, 1631, 'N', 'L', 6353, 'k', 2393, 4333, 3241, 1043]
[A]: 7491, 593, 335, 4807, X, 6677, M, p, Y, 7747, j, 7155, 3591, 7715, I, 4975, 4979, 6273, 9479, w, 1781


[Q]: [6559, 2255, 'n', '9599', '4415', 'B', 3911, 4867], ['A', 6419, 'n', '9599', '4415', 'T', 'n', 3281]
[A]: n, 9599, 4415


[Q]: ['d', 2597, 'R', 'x', 'd', 607, 2195, 'z', 2747, 'M', 'N', 'T', 'j', 7253, 5163, 5689, 'O', 8413, 8091, 'P', '6033', 'h', '7523', 'K', 'i', '2649', 'O', '6477', '763', '7455', 'v', '3213', '1033', 'c', 'C', '2351', '6491', '2049', '3879', '649', 'a', 'e', '5617', 'W', '7899', 'f', 'v', 6087, 3277, 7967, 'K', 't', 1137, 'D', 'O', 'Z', 'y', 'I', 'I', 3339, 'S', 'c', 'M', 'x', 'c'], [1895, 9423, 8299, 'P', '6033', 'h', '7523', 'K', 'i', '2649', 'O', '6477', '763', '7455', 'v', '3213', '1033', 'c', 'C', '2351', '6491', '2049', '3879', '649', 'a', 'e', '5617', 'W', '7899', 'm', 'A']
[A]:
P, 6033, h, 7523, K, i, 2649, O, 6477, 763, 7455, v, 3213, 1033, c, C, 2351, 6491, 2049, 3879, 649, a, e, 5617, W, 7899