In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 'K', 'j', 'h', 4249, 'x', 'v', '3795', '1785', 'O', 'Z', 'b', 'p', '8423', 'r', '1291', 'P', 1329, 5595], ['h', 3539, 9757, 'x', 'v', '3795', '1785', 'O', 'Z', 'b', 'p', '8423', 'r', '1291', 'Z', 9103, 8459, 'h', 'Y', 1763]