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

[Q]: ['X', 'j', 'Y', 4541, 7639, 'm', 'K', 305, 6733, 5077, 'S', 'S', '6005', 'v', '5903', '4231', 'z', 'p', '7235', 'w', '3597', '979', '3071', '3945', '8645', '8455', '9083', '8905', '999', '111', 'N', 'H', '2777', 'e', '9415', 'j', 'Q', '2679', 'w', 'g', '9581', '6053', 'j', 'P', 'x', 'r', 'K', 'C', 'R', 'k', 985, 1029, 't', 'c', 3835], [8563, 'b', 'D', 8893, 3193, 1043, 5807, 7563, '6005', 'v', '5903', '4231', 'z', 'p', '7235', 'w', '3597', '979', '3071', '3945', '8645', '8455', '9083', '8905', '999', '111', 'N', 'H', '2777', 'e', '9415', 'j', 'Q', '2679', 'w', 'g', '9581', '6053', 'z', 'S', 6681, 8187, 7139, 5221, 9683, 7271, 'c', 419, 'i']
[A]: 6005, v, 5903, 4231, z, p, 7235, w, 3597, 979, 3071, 3945, 8645, 8455, 9083, 8905, 999, 111, N, H, 2777, e, 9415, j, Q, 2679, w, g, 9581, 6053


[Q]: [6971, 'd', 'J', 'p', 'F', 5463, 'F', 'P', 1897, 'J', 'O', 'j', 'H', 'y', '3659', '9455', 'P', '9829', 'm', 'Q', 7829, 'C', 5311], ['E', 'R', 'H', 217, 'J', 'O', 'j', 'H', 'y', '3659', '9455', 'P', '9829', 'm', 'T', 5849, 1449]
[A]: J, O, j, H, y, 3659, 9455, P, 9829, m


[Q]: [4119, 7807, 7431, 'X', 'x', '7013', '4521', '2717', '2425', '5347', 'A', '8461', '491', 'B', '6269', 'Q', 'p', 'R', 575, 'v'], ['D', 'Q', 'H', 'X', 'r', 9231, 'n', 7727, 'N', 8957, 'Z', 3071, 'X', 'x', '7013', '4521', '2717', '2425', '5347', 'A', '8461', '491', 'B', '6269', 'Q', 'e', 'i', 'v', 345, 'A', 'c', 'C']
[A]:
X, x, 7013, 4521, 2717, 2425, 5347, A, 8461, 491, B, 6269, Q