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

[Q]: ['c', 'N', 9495, 305, 1779, 7447, 8519, 2777, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'A', 'p', 'k', 'h', 'A', 7013, 509, 'G'], ['V', 2467, 9505, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'W', 4557, 's', 4431]
[A]: 2205, 2411, 4203, g, V, 8037, h, 5963, L, 715


[Q]: [2785, 'M', 'd', 8001, 'z', 'G', 5661, 2853, 9397, 4757, 'b', 'f', 989, 'U', 'K', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'P', 'G', 'v', 4813, 'G', 6799, 9011, 'z', 4267], ['T', 'j', 'I', 6037, 'w', 'g', 3555, 9897, 9741, 5673, 5825, 407, 2157, 6461, 6095, 4477, 'Y', 'Y', 1773, 'N', 4151, 'j', 2911, 7543, 'b', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'C', 9075, 'j', 'o', 9087, 3137, 'G', 'j', 'p', 'd', 'N', 2085, 831, 1041, 1181, 'Y', 9409, 2267, 'q', 'w', 'w', 'O', 7523]
[A]: 3583, 4559, 2581, n, t, s, 987, o, 5487, c, E, 4505, 6765, 8305, N, s, 9393, q, r, 5487, 6365, 9377, M, 6661, 8579, 9899, x, 5739


[Q]: [445, 's', '1181', '1413', 'X', '5527', 'O', '5547', 'E', '1869', 'N', '6795', 'k', 'D', 'S', 6799], [5161, 7475, 7009, 'T', 'n', 3923, 8641, 'g', 'E', 'N', '1181', '1413', 'X', '5527', 'O', '5547', 'E', '1869', 'N', '6795', 'a', 9953, 475, 'E', 6683, 'I', 'k', 'E', 'X']
[A]:
1181, 1413, X, 5527, O, 5547, E, 1869, N, 6795