In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['K', 2991, 'i', 3155, 8499, 'e', 3323, 6795, 9847, 889, 'j', '9567', 'J', 'Z', '8219', 'r', 'I', 'Y', 'H', '6515', 't', 'N', 2727], ['B', 4497, 'R', 'J', 2345, 6963, 4335, 2811, 409, 'j', '9567', 'J', 'Z', '8219', 'r', 'I', 'Y', 'H', '6515', 'o', 4297, 'J', 'A', 8627, 1741, 'b', 8519, 'p', 5923]