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

[EX Q]: [9875, 'g', 8729, 'h', 'F', 'v', 'v', 8307, 6379, 3165, 7055, 'f', 'p', 3707, 'P', 6305, 'h', '9891', '2783', 'D', '7567', '95', 'T', 'U', '2035', 'W', 'C', 'B', '9943', 'B', '9033', '6511', 'e', '2623', 'O', 'Z', 'k', 7761], [9061, 1241, 'd', 3917, 'm', 9457, 'n', 1493, 725, 'O', 'h', '9891', '2783', 'D', '7567', '95', 'T', 'U', '2035', 'W', 'C', 'B', '9943', 'B', '9033', '6511', 'e', '2623', 'O', 'Z', 'o', 'J', 'c', 6919, 'O', 'O', 8809, 'J', 'v', 'O', 4633, 941, 'z', 6667, 'X', 'C', 'd', 5189]
[EX A]: h, 9891, 2783, D, 7567, 95, T, U, 2035, W, C, B, 9943, B, 9033, 6511, e, 2623, O, Z

[EX Q]: ['x', 9249, 'X', 'o', '7637', 'q', 'S', '733', '1483', 'T', '7653', 'F', '7879', 'k', '1881', 'Q', 'J', '4517', 'n', 'q', '1919', '381', '4725', 'J', 10001, 'A', 225, 1607, 'a', 'h', 6377], [375, 'D', 4093, 'g', 735, 955, 'c', 9937, 2987, 7035, 'X', 7703, 9937, 'Y', 3849, 2197, 4731, 'X', 'o', '7637', 'q', 'S', '733', '1483', 'T', '7653', 'F', '7879', 'k', '1881', 'Q', 'J', '4517', 'n', 'q', '1919', '381', '4725', 'Y', 'K', 's', 1667, 9723, 3697, 1759, 3243, 'r', 'v', 'Z']
[EX A]: X, o, 7637, q, S, 733, 1483, T, 7653, F, 7879, k, 1881, Q, J, 4517, n, q, 1919, 381, 4725

[EX Q]: ['e', 3873, 'p', 'a', 495, 9187, 'Z', 'a', 'Y', 2775, 1991, 'P', 2949, 'D', 747, 'j', 'e', 'j', 'V', 'h', '6027', '409', '3007', '5455', '5919', '5131', 'C', '7509', 'U', '2345', 'c', 'G', '9745', '8899', 'u', 'j', '1571', 'B', 'S', 'N', 'E', 1689, 'm', 761, 4341], ['n', 'V', 'u', 'q', 1689, 'j', 'V', 'h', '6027', '409', '3007', '5455', '5919', '5131', 'C', '7509', 'U', '2345', 'c', 'G', '9745', '8899', 'u', 'j', '1571', 'M', 'i', 3335, 'j']
[EX A]:
j, V, h, 6027, 409, 3007, 5455, 5919, 5131, C, 7509, U, 2345, c, G, 9745, 8899, u, j, 1571