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

[Q]: [1379, 'n', 1525, 'Y', 'A', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'd', 8015, 10007, 'R', 'K', 'n', 'o', 'U', 3049], ['k', 379, 'M', 'M', 'a', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'q', 'v', 7549]
[A]: 9043, 2335, 5029, f, b, 7547, 4275, R, H


[Q]: ['e', 'h', 's', 'a', 'H', 'T', 2055, 'K', 's', 4269, '8015', 'T', '1633', 'K', 'T', 'Z', 's', 'x', '7515', '9771', '7667', 'K', '3065', 'i', 'N', 9599, 8065, 'V', 'H', 7675, 4263, 'Z', 7307], ['V', 'z', 'C', 'S', 'F', 'a', 's', 6773, 'C', 'e', 9893, '8015', 'T', '1633', 'K', 'T', 'Z', 's', 'x', '7515', '9771', '7667', 'K', '3065', 'O', 'Q', 709, 'G', 167, 3287, 'w', 6213, 'g']
[A]: 8015, T, 1633, K, T, Z, s, x, 7515, 9771, 7667, K, 3065


[Q]: [4839, 9383, 'J', 'M', 'E', 'y'], [7127, 3371, 'J', 'M', 'p', 3785]
[A]:
J, M