Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
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