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

[EX Q]: ['E', 'V', 5783, 'G', 8167, 7189, 'I', 'A', '5987', 'd', 'u', '5069', 'v', 'i', '7725', '6567', '9085', '347', '4353', 'A', '5711', 'L', 'S', 'S', 'Z', '8949', 'X', 1807, 7157, 'S', 6831, 'T', 805, 'H', 2489, 'S', 'F', 7167, 'Q', 2907, 6863, 'k', 6843, 2527], ['R', 'y', 'k', 8823, 337, 1587, 'S', 'm', 5803, 'Q', 7073, 'A', '5987', 'd', 'u', '5069', 'v', 'i', '7725', '6567', '9085', '347', '4353', 'A', '5711', 'L', 'S', 'S', 'Z', '8949', 'S', 'O', 2883, 'o', 7283, 9175, 'G', 1287, 'u', 4403]
[EX A]: A, 5987, d, u, 5069, v, i, 7725, 6567, 9085, 347, 4353, A, 5711, L, S, S, Z, 8949

[EX 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]
[EX A]: 9043, 2335, 5029, f, b, 7547, 4275, R, H

[EX Q]: ['G', 7037, 3997, 'F', 'g', 'k', 815, '1373', 'y', '9083', '6443', '4547', 'Z', '8609', '6453', '10019', 'J', 'D', 'M', 'U', 'Y', '2709', '1271', 'X', 'x', '2755', '4385', 'G', 'V', 5929, 7183, 'J', 8159, 'l', 1263, 3577, 'F', 'k', 'P', 9821, 1665, 'h', 7069, 'V', 5207, 'O', 8047], ['e', 'K', 7915, 9627, 3387, 'b', 2023, 'O', 'o', 6233, 1193, 1929, 'J', 'v', '1373', 'y', '9083', '6443', '4547', 'Z', '8609', '6453', '10019', 'J', 'D', 'M', 'U', 'Y', '2709', '1271', 'X', 'x', '2755', '4385', 'I', 3619, 'k', 8167, 'h', 'S', 'y', 'i', 'r', 'r', 3245, 'J']
[EX A]:
1373, y, 9083, 6443, 4547, Z, 8609, 6453, 10019, J, D, M, U, Y, 2709, 1271, X, x, 2755, 4385