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

[EX Q]: ['U', 6489, 'o', 'e', 'Z', 'G', '8175', 'r', '1915', '8587', '8845', 'I', 'B', 'R', 'N', 9533, 'd'], ['U', 4287, 'f', 'R', 1407, 3893, 6739, 'o', 'e', 'Z', 'G', '8175', 'r', '1915', '8587', '8845', 'Z', 2981, 'i', 'a', 'k', 5909, 'S', 9997]
[EX A]: o, e, Z, G, 8175, r, 1915, 8587, 8845

[EX Q]: [443, 'w', 9731, 'M', 'N', 'P', '9231', 'j', 'H', '5851', 'F', 'W', 2301], ['Z', 1747, 6223, 'u', 1065, 'J', 'N', 'P', '9231', 'j', 'H', '5851', 'J', 5037, 9047]
[EX A]: N, P, 9231, j, H, 5851

[EX Q]: ['a', 2235, 3499, 'x', '6817', 'J', 'W', 'C', 'I', '7927', 'Y', '663', '6195', 'E', 'u', 'n', 'h', 'W', 'M', '6449', '9329', 'H', 'Q', '5985', 'g', 'S', 'K', 'W', '6497', '6339', 'H', 'O', 'R', 8473, 't', 681, 6629, 'w', 'Y', 5195, 'i', 4291, 'F', 'x'], [3001, 2241, 3569, 7259, 2445, 8959, 4029, 'U', 3103, 'D', 'P', 3685, 'W', 5747, 591, 9019, '6817', 'J', 'W', 'C', 'I', '7927', 'Y', '663', '6195', 'E', 'u', 'n', 'h', 'W', 'M', '6449', '9329', 'H', 'Q', '5985', 'g', 'S', 'K', 'W', '6497', '6339', 'k', 7289, 'r', 'p', 's', 'y', 'M', 'G', 'J', 3543, 1129, 'N', 'I', 481, 's', 4373, 'I', 8329, 'o', 9411, 'q', 6081]
[EX A]:
6817, J, W, C, I, 7927, Y, 663, 6195, E, u, n, h, W, M, 6449, 9329, H, Q, 5985, g, S, K, W, 6497, 6339