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

[Q]: [8507, 'H', 'o', 'N', 'r', 'I', 3733, 'r', 6877, 5193, 1389, 7105, '8513', 'A', '5801', 'M', '1339', '6353', 'C', '3591', 'W', '7703', 'D', 'i', '1975', '9169', '7427', '8345', 'l', 'C', 'C', 'd', '7579', '1463', '8451', 'H', 'K', 'u', '8561', 'x', 3575, 'A', 7405, 'o', 'J', 6163, 'y', 'O', 'g', 7633, 'A', 6531, 4627, 'P', 'O', 'j', 'S', 'b', 'c', 'V', 7923, 'K', 'i', 5625, 893, 'V'], ['W', 'O', 6909, 'a', 1667, 'n', 'D', 'i', 7719, 4109, 4167, 4099, 5473, 'b', 'g', 'R', '8513', 'A', '5801', 'M', '1339', '6353', 'C', '3591', 'W', '7703', 'D', 'i', '1975', '9169', '7427', '8345', 'l', 'C', 'C', 'd', '7579', '1463', '8451', 'H', 'K', 'u', '8561', 'h', 'Z', 383, 2829, 5461, 1851, 'F', 'l', 981, 6545, 'v', 7707, 'W', 675, 'V', 'C', 599, 'd', 1967, 'X', 'y', 'B', 'K']
[A]: 8513, A, 5801, M, 1339, 6353, C, 3591, W, 7703, D, i, 1975, 9169, 7427, 8345, l, C, C, d, 7579, 1463, 8451, H, K, u, 8561


[Q]: [9889, 'I', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'm', 2573, 839, 'a', 'S', 9999, 'H', 135, 1089], ['Y', 'a', 9301, 'l', 'v', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'Q', 9865, 7343, 741, 863, 'I', 'M', 'u']
[A]: f, y, 3773, 4483, Y, 2325, M, 247, 8091, H, 3787, 3845, i, L, t, 6949, 6019, 5929


[Q]: [7277, 3859, 'f', 4861, 1223, 1093, 999, 7101, 'D', 1017, 8847, 1479, 689, 'G', '1947', '721', 'p', '2141', '4689', 'a', '7125', '8003', '3725', 'N', '4737', 'G', '257', 'c', 'm', '6667', 'u', 'o', 'G', 'B', '8747', 'l', 'Z', '6945', '3355', 'n', 'G', '1089', '3491', '5153', 'O', 3185, 685, 'F', 'E', 5115, 8795, 'R', 3591, 1951, 'Y', 8401, 4707], [5271, 5033, 5613, 6397, 5825, 8639, 15, 'M', 'h', 'V', 'F', 3737, 2481, 'w', 8687, 4865, '1947', '721', 'p', '2141', '4689', 'a', '7125', '8003', '3725', 'N', '4737', 'G', '257', 'c', 'm', '6667', 'u', 'o', 'G', 'B', '8747', 'l', 'Z', '6945', '3355', 'n', 'G', '1089', '3491', '5153', 'D', 'N', 'X', 1669, 'F', 'H', 3773, 't', 'v', 'W', 6963, 'b', 2697, 4169, 'o', 7267, 4517, 'u', 'f', 'f', 'r', 5373]
[A]:
1947, 721, p, 2141, 4689, a, 7125, 8003, 3725, N, 4737, G, 257, c, m, 6667, u, o, G, B, 8747, l, Z, 6945, 3355, n, G, 1089, 3491, 5153