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

[Q]: [9317, 'w', 4993, 's', 'm', '6813', 'w', '1303', '849', 'k', '6253', '6957', '8725', '6917', 'f', '1977', '6293', '2107', 'Z', '3307', 't', '2617', 'D', 'b', 'l', '8713', 'P', 'C', 'T', 'n', 'm', 3279, 'p', 5809, 'R', 103, 'q', 7037], ['w', 'y', 1757, 'P', 5339, 'v', 2295, 'J', 'D', 6391, 4415, 3971, 2739, 's', 'm', '6813', 'w', '1303', '849', 'k', '6253', '6957', '8725', '6917', 'f', '1977', '6293', '2107', 'Z', '3307', 't', '2617', 'D', 'b', 'l', '8713', 'P', 'C', 'T', 't', 583, 2855, 'n', 't', 7281, 5103, 'E', 3181, 3639, 'G', 'c', 4007, 'H', 'v', 8375, 'j', 'I', 'r', 'l', 9621, 'X', 1885, 4309]
[A]: s, m, 6813, w, 1303, 849, k, 6253, 6957, 8725, 6917, f, 1977, 6293, 2107, Z, 3307, t, 2617, D, b, l, 8713, P, C, T


[Q]: ['q', 6247, 7691, 'M', 'i', 3857, 'J', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'a', 8713, 'a', 2717, 'y', 'l', 't', 1815, 9507, 1713, 'N'], ['Z', 7463, 6215, 'r', 43, 'h', 3841, 9317, 'J', 'x', 6735, 'b', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'Q', 'c', 'B', 9989, 'd', 875, 1185, 7121, 5559, 'k', 2289]
[A]: 249, j, 3315, Y, q, K, B, h, M, i, 3947, 8559, 1833, q, x, 1469, 7579, 421, F, y, c, 9043, r, N, O, N, Z


[Q]: [1575, 155, 2061, 'a', 'M', 'a', 1727, 9807, 'h', 'B', 3075, '807', 'W', 't', 'b', '6731', 'Q', '5615', '9321', '7657', '3759', 'F', '3955', 'Y', 'v', 9091, 'M', 1283, 3171, 9679], [2403, 8643, 'U', 3167, 'S', 3035, 9175, 'F', 'y', 4505, 1173, '807', 'W', 't', 'b', '6731', 'Q', '5615', '9321', '7657', '3759', 'F', '3955', 'Y', 'w', 2169, 'h', 3237, 'X']
[A]:
807, W, t, b, 6731, Q, 5615, 9321, 7657, 3759, F, 3955, Y