In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['l', 'c', 'Q', 'v', 1847, 7851, 4783, 'p', '215', 'Y', 'Y', '4675', '1087', '5365', '1337', '2785', 'z', 's', '8039', '3761', 'o', 8981, 'j', 'A', 6563], [5987, 'M', 'x', 'f', 'x', 'q', 'K', 'd', 'F', 6107, 'r', 2445, '215', 'Y', 'Y', '4675', '1087', '5365', '1337', '2785', 'z', 's', '8039', '3761', 'E', 7839, 'a', 'P', 'o', 9309, 8201, 'l', 'G', 'L']