In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['M', 'h', 8607, 5737, 'R', 'i', 'S', 4579, 'J', '2863', '3951', 'n', '6573', 'i', '719', 'L', 'u', '8565', '3583', 'i', 'L', 1935, 9131, 'B', 6771, 'd'], ['C', 6881, 'f', 2241, 6423, 5087, 1453, 8727, 'p', '2863', '3951', 'n', '6573', 'i', '719', 'L', 'u', '8565', '3583', 'F', 'S', 2333, 6905, 'k', 869, 7133, 'D', 1879]