In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['D', 719, 'm', 1555, 3991, 'b', 'y', 'r', 'B', 'r', 'h', '9727', 'c', 'z', 'M', 'W', 's', 'i', 'z', 'q', '277', '3415', 'u', '8393', 'r', '3295', '1451', 'S', 'N', 'o', 'M', 6803], [5749, 5895, 3511, 'x', 'P', 8537, 7467, 'c', 3215, 'l', 'x', 'l', 4839, 9685, 'g', 1023, '9727', 'c', 'z', 'M', 'W', 's', 'i', 'z', 'q', '277', '3415', 'u', '8393', 'r', '3295', '1451', 'S', 'f', 'd']