In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7585, 4293, 'S', 7825, 'h', 'Q', 2261, 'K', 'A', 9097, 'n', 's', 'x', 'm', 'k', '8557', 'L', '5739', '4247', '5411', 'm', '9007', '7245', '3093', 'q', 'd', 'B', 'E', 'n', '1757', 'A', '1777', '4423', 'o', '4867', 'k', 8727, 'k'], ['M', 'S', 8429, 'N', 2731, 'A', 9375, '8557', 'L', '5739', '4247', '5411', 'm', '9007', '7245', '3093', 'q', 'd', 'B', 'E', 'n', '1757', 'A', '1777', '4423', 'o', '4867', 'x', 'Q', 'A', 7625, 'i', 8655, 'v', 5859, 'o', 1729, 3903, 'u', 'z', 5851, 1371, 'h', 6543, 1217, 4031, 'F']