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

[EX Q]: [5071, 3641, 'a', 'n', 4549, 'K', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 't', 'G', 'L', 3179, 10017, 'p', 1633, 3951, 3277, 'c'], ['k', 3793, 'G', 'z', 'F', 3735, 595, 'c', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 'f', 'u', 9709, 6341, 'N', 'F', 'G', 5533]
[EX A]: 6783, P, 5113, 9801, 4323, u, 4227, G, J, 5259

[EX Q]: [6453, 7881, 'D', 'X', '9799', 'Z', '1711', 'P', 'L', 'E', '5039', '1161', 'n', '6077', '685', 'F', 'C', 'Y', 2235, 823, 'q', 'S', 'R', 'K', 2809, 'o', 7605, 'L', 'V', 'D', 'R'], [1195, 'n', 5253, 7139, 4463, 10023, 'O', 'Y', 'X', '9799', 'Z', '1711', 'P', 'L', 'E', '5039', '1161', 'n', '6077', '685', 'F', 'C', 'L', 4321, 3545, 'G', 'G', 'h']
[EX A]: X, 9799, Z, 1711, P, L, E, 5039, 1161, n, 6077, 685, F, C

[EX Q]: [3917, 8517, 5843, 'T', 'V', 'b', 6923, '6061', 'W', 'W', 'b', 'M', '6505', '8597', 'e', 6717, 'l', 'P'], ['e', 'z', 'B', 'D', 'F', 'C', '6061', 'W', 'W', 'b', 'M', '6505', '8597', 'i', 'U', 'C', 9757]
[EX A]:
6061, W, W, b, M, 6505, 8597