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

[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]: ['f', 'I', 'G', 627, 6145, 4779, '7903', 'c', '6667', 'j', 'N', 'F', '8035', 'E', 'u', 'V', '3605', 'y', '9445', '1541', '6709', 'Z', 'g', 'W', '7809', 't', '1887', 's', 'a', 9101, 2313, 't', 1319, 7473, 'p', 'a', 'd', 2643, 3033, 8709], [6835, 'a', 'g', 6065, 'v', 'm', 3313, 'V', '7903', 'c', '6667', 'j', 'N', 'F', '8035', 'E', 'u', 'V', '3605', 'y', '9445', '1541', '6709', 'Z', 'g', 'W', '7809', 't', '1887', 'X', 609, 'c', 6763, 2011, 'u', 'I', 8969, 315, 1553, 967, 'c', 'W', 9607, 'u', 'E', 'g', 3559, 'd', 99]
[A]: 7903, c, 6667, j, N, F, 8035, E, u, V, 3605, y, 9445, 1541, 6709, Z, g, W, 7809, t, 1887


[Q]: ['v', 8069, 5695, '6271', 'v', 'm', 'h', '547', 'J', 'W', 'd', 'J', '1961', 'g', 'K', 1899, 'I', 5317, 1431, 2187, 6809, 343], ['x', 'W', 'o', 1517, 1097, 'b', 'v', 4907, 's', 9821, '6271', 'v', 'm', 'h', '547', 'J', 'W', 'd', 'J', '1961', 'g', 'H', 'D']
[A]:
6271, v, m, h, 547, J, W, d, J, 1961, g