In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['V', 'H', 511, '9845', '7005', 'H', 's', '4223', 'r', 'Z', '6677', 'r', 'l', '9421', 'a', 'I', '6915', '5417', '9707', 'Y', '2053', '7389', '4725', 'D', '4879', '1385', 'N', 'x', 'j', 3475, 'C', 'B', 3257, 7819, 'm', 7993, 9763, 'C', 4847, 'z', 3539, 'I', 'o', 3693, 'x', 9243, 'c', 'g'], ['u', 'L', 659, 'S', 'c', 2789, 7381, 1307, 10013, 4571, 1059, 7209, 7389, '9845', '7005', 'H', 's', '4223', 'r', 'Z', '6677', 'r', 'l', '9421', 'a', 'I', '6915', '5417', '9707', 'Y', '2053', '7389', '4725', 'D', '4879', '1385', 'n', 'C', 'K', 6129, 7847, 'A', 'D', 935, 's', 901, 'k', 'F', 3967, 2407, 1285, 799, 9999, 'J', 5013]
A:
9845, 7005, H, s, 4223, r, Z, 6677, r, l, 9421, a, I, 6915, 5417, 9707, Y, 2053, 7389, 4725, D, 4879, 1385