In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [2077, 'A', 2665, 'd', 4965, 'V', 85, 'X', 153, 8841, 7683, 'V', 3653, 'D', 'm', 'V', 'D', 2491, 8681, 'l', 1369, 3585, 5977, 'H', '9231', 'K', 'a', 'Q', '6067', 's', 'm', 'I', '655', '6091', 'P', 'W', 'c', '5437', '955', 'M', 'u', '8671', 'h', 'y', '5289', '7307', '3365', '6637', 'x', 3631, 'R', 'B', 'X', 'Z', 6463, 9647, 2837, 801, 's', 'c', 3503, 'H', 'T', 'D', 'C', 'X', 1207, 7041, 7159, 'a', 'N', 6065], [9413, 'X', 'k', 8895, 'q', 5421, 'n', 1017, 3019, 'm', 3703, 'S', 9239, 1371, 5877, 'C', 6899, 491, 'c', 6695, 'B', 'U', '9231', 'K', 'a', 'Q', '6067', 's', 'm', 'I', '655', '6091', 'P', 'W', 'c', '5437', '955', 'M', 'u', '8671', 'h', 'y', '5289', '7307', '3365', '6637', 'P', 8495, 1557, 1105, 'y', 'c', 'Y', 3171, 1617, 8583, 8781, 7131, 5143, 'r', 8121, 'u', 'g', 'k', 'S', 6561, 'v', 'V', 7891]
A:
9231, K, a, Q, 6067, s, m, I, 655, 6091, P, W, c, 5437, 955, M, u, 8671, h, y, 5289, 7307, 3365, 6637