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

[EX Q]: ['p', 'C', 6777, 'P', 'd', 4619, 'l', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'U', 'C', 'G', 'm'], ['U', 5295, 'O', 'F', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'W', 'C', 'I', 'K', 5891]
[EX A]: 4333, 9491, V, 5745, P, 9255, 9439, 8461, D, L, w, R

[EX Q]: ['N', 9837, 'S', 'f', 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'z', 'i', 9307, 1877, 1633, 9823, 'u', 'u', 8629, 'M', 411, 135, 'J', 'H', 'b', 'm', 669, 'i', 6935], [685, 6231, 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'n', 2383, 2123, 5545, 'j', 'q', 4387, 2801]
[EX A]: z, 7671, 5131, 2773, 3435, 2525, 2621, k, 1113, u, 9269, 4517, B, a, R, T, 3077, h, q, z, w

[EX Q]: ['U', 3849, 'h', 'O', 'G', 'x', '7265', 'M', '8641', '5403', '3847', 'y', 2069, 8543, 1881, 'I', 'd', 9161], [6991, 'W', 3217, 9313, 1113, 'D', 'D', 'h', 'O', 'G', 'x', '7265', 'M', '8641', '5403', '3847', 'H', 'E', 'r', 4203, 7851, 'r', 6509]
[EX A]:
h, O, G, x, 7265, M, 8641, 5403, 3847