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

Q: ['g', 305, '8447', 'K', 'y', 'D'], [2445, 5519, '8447', 'K', 't', 'l']

A: 8447, K
****
Q: ['L', 'q', 'C', 'c', 6507, 'x', 'C', 8247, 2327, 'q', 9785, 'U', 1653, 5189, 1035, 5417, 7385, 3065, 8415, '765', 'D', 'Z', '2235', 'f', '6389', 'e', '4773', 'm', '6621', '1741', '3119', '9893', 'd', 's', '6143', '3079', '4281', 'T', '261', 'H', '7583', 'L', '8421', 'k', 'F', 9173, 'a'], [3971, 6169, '765', 'D', 'Z', '2235', 'f', '6389', 'e', '4773', 'm', '6621', '1741', '3119', '9893', 'd', 's', '6143', '3079', '4281', 'T', '261', 'H', '7583', 'L', '8421', 'H', 'y', 'G', 'a', 'W', 'v', 6451, 4577, 'f', 8945, 'N', 'd', 4649, 'E', 5397, 8145, 'y', 1997, 7353, 'c', 3473, 'k', 'Z', 8131]

A: 765, D, Z, 2235, f, 6389, e, 4773, m, 6621, 1741, 3119, 9893, d, s, 6143, 3079, 4281, T, 261, H, 7583, L, 8421
****
Q: [5853, 3927, 3869, 'W', 7223, 'H', 'p', '4923', '4649', '1721', 'g', '2373', '811', 'A', 'Y', '4129', '1113', 'Z', 'e', 'P', 371, 1909, 989], ['r', 'T', 'g', 'E', 9189, 'u', 'C', '4923', '4649', '1721', 'g', '2373', '811', 'A', 'Y', '4129', '1113', 'd', 9483, 4095, 'j', 'n', 5135, 4673, 'o', 'L', 'e']

A:
4923, 4649, 1721, g, 2373, 811, A, Y, 4129, 1113
****