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

[Q]: [4803, 'S', 6357, 7491, 8573, 'O', 9721, 'j', 6491, 'Y', 2083, 8345, 893, 'N', 953, '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'd', 'a', 'j', 'R', 'F', 8959, 't', 2649, 'T', 6075, 'K', 2981, 'Q', 9069, 'S', 5253, 3581, 8697, 5461, 9309, 2107, 'D', 617], ['R', 'Z', 5655, 7575, 'Q', 'f', 'U', '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'J', 'w', 'V', 'T', 1243, 3949, 7619, 3707, 'd', 'C', 'd', 'B', 4657, 'U', 'c', 5465, 6961, 'x', 'L', 'e', 'j']
[A]: 4031, q, i, 5741, u, 5545, Z, h, a, q, B, V, 4963, 1073, 597, h, T, 7285, Z, 471, 6717, 8125, 5031


[Q]: ['R', 437, 'S', 'N', 'H', '3615', 'w', 'j', 'N', '6991', '7577', 'O', 'z', 'k', 'F', 'T', '3585', '5505', '5485', 'f', 'B', 3579, 'v', 8529, 'i'], ['w', 'j', 'X', 'G', 'I', 4567, 'H', 'w', 8869, 4535, 'L', 'q', 'u', 'V', 'L', '3615', 'w', 'j', 'N', '6991', '7577', 'O', 'z', 'k', 'F', 'T', '3585', '5505', '5485', 'f', 'R', 155]
[A]: 3615, w, j, N, 6991, 7577, O, z, k, F, T, 3585, 5505, 5485, f


[Q]: [7527, 'l', 3101, 'O', 9369, 7431, 'B', 9823, 8853, 'r', 'x', 3809, 'O', 9727, 'l', 'H', '5155', '761', 'T', '3657', 'U', 'V', 'Z', 'l', 'S', '7359', '5413', '6501', 'M', '1181', 'N', '1449', 'w', 'Q', 'Z', '1409', 'D', 'e', 'G', 'Q', 'i', 'n', 887, 'L', 2931, 'n', 'u', 8617, 'N', 8571, 2719, 591, 'K', 4211, 9927, 'd', 'o', 841], [1349, 217, 'z', 5325, 1161, 2469, 'j', 'U', 2241, 'E', 3981, 3763, 6801, 4347, 8985, 5733, '5155', '761', 'T', '3657', 'U', 'V', 'Z', 'l', 'S', '7359', '5413', '6501', 'M', '1181', 'N', '1449', 'w', 'Q', 'Z', '1409', 'D', 'B', 'z', 6589, 'w', 'm', 963, 1719, 9297, 2245, 3587, 495, 'v', 6863, 6503, 'd', 609, 'N', 'W', 545, 5139, 973]
[A]:
5155, 761, T, 3657, U, V, Z, l, S, 7359, 5413, 6501, M, 1181, N, 1449, w, Q, Z, 1409, D