In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 'q', 9171, 'r', 'L', 'd', '1893', 'o', '9401', 'M', 'x', 'n', '1367', '4087', '1723', 'J', 'F', 'd', '2547', '975', 'c', '7681', 'h', 'K', 'h', 1093], [3029, 'L', 8869, 9647, 'r', 'L', 'd', '1893', 'o', '9401', 'M', 'x', 'n', '1367', '4087', '1723', 'J', 'F', 'd', '2547', '975', 'c', '7681', 'n', 't', 'a', 's', 'V', 'R', 8681, 'T', 'l', 1595, 'n', 2559, 7481, 2749, 7879]