In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['D', 4191, 'h', 6557, 'M', '5409', 'j', '1275', '2793', 'M', '3779', 'd', '4833', 'x', '2293', '1401', '71', 'P', 'R', 'k', 'Y', 1461, 9089, 'Q', 4727], ['I', 8719, 'X', 'T', 'x', 'Z', 1469, 'M', '5409', 'j', '1275', '2793', 'M', '3779', 'd', '4833', 'x', '2293', '1401', '71', 'A', 7197, 'a', 'f', 5165, 'n', 'g', 9891, 'i', 'v', 'Q']