In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['M', 'm', 5257, 7549, 'Q', 'z', 'c', 'R', 'X', '8399', 'B', 6093], [8939, 'k', 'L', 7349, 3965, 'z', 'c', 'R', 'X', '8399', 'V', 'W', 6461, 'z', 'e']