In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [6959, 349, 5581, 3847, 'O', 'H', 7037, 4263, 'N', 9753, 'A', 'd', 5827, 2837, 'j', 'r', '6365', '6391', '589', '7617', '8361', 'a', 'b', 'g', '1987', '8337', '4327', '1779', 'k', 'I', 'K', 'A', 'r', 'f', 'i', 'A', 6193, 8525, 2193, 'G', 6187, 3207, 8877], ['c', 3823, 5147, 'T', 4259, 2959, 4133, 267, 'N', 6081, 3157, 'r', '6365', '6391', '589', '7617', '8361', 'a', 'b', 'g', '1987', '8337', '4327', '1779', 'k', 'I', 'K', 'A', 'k', 'Z', 6779, 6795, 8125, 'm', 'h', 'm', 8333]
A: 
r, 6365, 6391, 589, 7617, 8361, a, b, g, 1987, 8337, 4327, 1779, k, I, K, A