In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[59, 1719, 'J', 'S', 'E', 7143, 'r', '4715', '7239', 'A', '1649', 'v', 'C', 'p', 'C', 'Z', 'D', 2671, 7987, 5357, 'S', 905, 'D', 'L', 'W', 't'], [1531, 3547, 't', 897, 6069, 7367, 'r', '4715', '7239', 'A', '1649', 'v', 'C', 'p', 'C', 'Z', 'q', 'b', 'e', 'J', 'B', 'v']