In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['y', 'G', 6935, 7109, 'M', 't', 3361, 5523, '6785', 'D', 'M', 'x', 'S', 'l', 'R', 'v', 'r', 'y', '3751', 'N', 5249, 1769, 1029, 3579, 1117, 5583, 9289, 'j'], [9189, 'h', 2435, 'x', 'o', 1459, 2259, '6785', 'D', 'M', 'x', 'S', 'l', 'R', 'v', 'r', 'y', '3751', 'o', 1831, 7915]