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

[Q]: [1951, 'Y', 'v', 5955, 75, 'e', 9911, 3885, 335, 'L', 7871, 'z', 'l', 1047, 7915, 'D', 5831, '3495', 'a', 'i', '2657', 'R', 'P', 'N', 'K', '3765', '9331', '7357', 't', 'p', '6279', 'p', '4009', 'T', 'm', 'R', 'z', '1461', '31', '8689', '8807', '7225', '6421', 'r', '2115', 'k', 6911, 6063, 4091, 'z', 2951, 'v', 'n', 'a', 'N', 2063, 'o', 'V', 149, 'k', 6117, 7805], ['G', 8737, 1265, 'B', 'Y', 'f', 2407, 2383, 3405, 'u', 'M', 'g', 3985, 9783, 'V', 1525, '3495', 'a', 'i', '2657', 'R', 'P', 'N', 'K', '3765', '9331', '7357', 't', 'p', '6279', 'p', '4009', 'T', 'm', 'R', 'z', '1461', '31', '8689', '8807', '7225', '6421', 'r', '2115', 'E', 'c', 2823, 2777, 'S', 'f', 't', 's', 'N', 'P', 5597, 'R', 'W', 699, 'f', 'p', 7843, 'y', 3875, 7057, 'u', 'E', 'D']
[A]: 3495, a, i, 2657, R, P, N, K, 3765, 9331, 7357, t, p, 6279, p, 4009, T, m, R, z, 1461, 31, 8689, 8807, 7225, 6421, r, 2115


[Q]: ['J', 'G', 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'm', 't', 'z', 9681, 'z'], ['Q', 4625, 4609, 2245, 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'A', 9751, 'U', 7397]
[A]: h, z, 6979, W, W, 7681, s, 8827


[Q]: ['q', 'S', 5831, 'N', 5519, 5533, 739, 'K', 6115, 9505, 447, 5489, 's', 4265, 1411, 4265, 4149, 9217, 'W', 'n', 'D', 'z', '3683', 'g', 'F', '9305', 'Y', 'q', '465', '15', '3281', 'k', 'm', 'H', '1357', 'A', '5829', '3987', 'i', 'm', 'f', 'w', '2933', '7309', 'M', 'k', 'k', 8397, 7413, 1693], ['S', 3859, 'c', 'L', 2235, 8553, 'y', 'z', 643, 'X', 1347, 4087, 'j', 'D', 'Z', 'U', 'z', '3683', 'g', 'F', '9305', 'Y', 'q', '465', '15', '3281', 'k', 'm', 'H', '1357', 'A', '5829', '3987', 'i', 'm', 'f', 'w', '2933', '7309', 'P', 'I']
[A]:
z, 3683, g, F, 9305, Y, q, 465, 15, 3281, k, m, H, 1357, A, 5829, 3987, i, m, f, w, 2933, 7309