In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [2609, 5155, 'b', 9801, 8383, 921, 'k', 'c', 'o', '3025', 'w', 'S', 'Y', '7851', 'F', '9397', 'v', '5231', 'W', '6237', '8563', 'S', 'n', 'U', '5377', '3619', '8369', 'L', '5989', 'f', '2939', 'u', 7539, 'Z', 'H', 2989, 'P', 8497, 'r', 3717, 8527, 899, 7391, 'M'], [5057, 1025, 'y', 'b', 'J', 3557, 'c', 'V', 'l', 919, 4441, 'M', 'h', 'o', '3025', 'w', 'S', 'Y', '7851', 'F', '9397', 'v', '5231', 'W', '6237', '8563', 'S', 'n', 'U', '5377', '3619', '8369', 'L', '5989', 'f', '2939', 'C', 1365, 2607, 'H', 2459, 'k']
A:
o, 3025, w, S, Y, 7851, F, 9397, v, 5231, W, 6237, 8563, S, n, U, 5377, 3619, 8369, L, 5989, f, 2939