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

[EX Q]: ['n', 137, 'q', 'Q', 10017, 2119, 'g', 8921, 'L', 'A', 'c', 'U', 7067, 'P', '7789', 'O', 'H', 'h', 'T', 'C', '9427', 'b', '4887', '7659', 'i', 'q', '8123', '7571', '8653', '4961', 'W', 'K', '6323', 'm', '9669', '4821', '6503', 'M', 'N', 4975, 'w', 4937, 9409, 2427, 'n', 7733, 'o', 3717, 141, 'e', 'z', 'X', 'c', 'q', 6443, 'W', 'Q', 'j', 7043, 1977], ['I', 9, 5027, 3147, 1945, 6141, 'u', 2685, 2253, 8359, 'z', 4431, 8465, 3145, 'k', '7789', 'O', 'H', 'h', 'T', 'C', '9427', 'b', '4887', '7659', 'i', 'q', '8123', '7571', '8653', '4961', 'W', 'K', '6323', 'm', '9669', '4821', '6503', 'M', 'B', 'N', 8081, 'W', 'H', 'A', 'w', 'j', 661, 'D', 8029, 49, 'y', 6639, 829, 771, 9575, 7371]
[EX A]: 7789, O, H, h, T, C, 9427, b, 4887, 7659, i, q, 8123, 7571, 8653, 4961, W, K, 6323, m, 9669, 4821, 6503, M

[EX Q]: ['J', 'h', '8587', 'b', 't', 'k'], [8955, 7253, '8587', 'b', 'e', 8655]
[EX A]: 8587, b

[EX Q]: ['a', 'e', '423', '8657', '9739', 'Z', 'e', 's', '2131', '6463', '1121', 'D', '5317', 'i', 'D', '9881', 'P', '8255', '7613', 'Z', '8851', 'h', '5327', 'e', '2863', 't', 'a', 'w', 3335, 'l', 3339, 'q', 'Y', 'a', 'G', 1733, 4609, 3681, 'I', 2253, 'Z', 9165, 1917, 5459, 'P'], [8793, 'Y', 4153, 'n', 'E', 'H', 'i', 6575, 'D', 2405, 9523, 'D', 6771, 7755, 7953, 1429, 'S', 'R', 'T', '423', '8657', '9739', 'Z', 'e', 's', '2131', '6463', '1121', 'D', '5317', 'i', 'D', '9881', 'P', '8255', '7613', 'Z', '8851', 'h', '5327', 'e', '2863', 't', 'a', 'v', 'c', 1109, 197, 229, 'G', 7729, 'h', 7131, 'p', 'E', 2521, 'R', 917, 6617, 7885, 'J']
[EX A]:
423, 8657, 9739, Z, e, s, 2131, 6463, 1121, D, 5317, i, D, 9881, P, 8255, 7613, Z, 8851, h, 5327, e, 2863, t, a