In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['k', 6705, 'E', '6459', '1749', '4339', 'j', '1335', 'j', 'B', 'E', 'k', 7039, 'i', 'h', 8985, 'v', 'J'], ['x', 6239, 3777, 1715, 1709, 'E', '6459', '1749', '4339', 'j', '1335', 'j', 'B', 'E', 'w', 1659, 4905, 759, 1061, 6215, 'K', 's', 'f']