Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [1731, 5837, 'O', 'o', 'A', 3687, 'C', 7769, 6513, 9871, 2473, 1099, 'm', 'c', 'h', 'm', 747, 's', 9303, '7523', 'v', 'V', 'R', 'r', 'l', 'E', '2945', '1207', 'V', 'L', 'V', '2091', '1971', '4841', 'Y', 'n', '3529', 'J', '2089', 'w', '3973', 'W', 'u', 7109, 9641, 4875, 9131, 'm', 7721, 'X', 6091, 8761, 'F', 141, 'm', 7025, 'g'], ['N', 'M', 'o', 6113, 9957, 8219, 'B', 'p', '7523', 'v', 'V', 'R', 'r', 'l', 'E', '2945', '1207', 'V', 'L', 'V', '2091', '1971', '4841', 'Y', 'n', '3529', 'J', '2089', 'w', '3973', 'W', 'O', 3985, 'r', 8543, 't', 5657]
A:
7523, v, V, R, r, l, E, 2945, 1207, V, L, V, 2091, 1971, 4841, Y, n, 3529, J, 2089, w, 3973, W