In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 5147, 6529, 'z', 'D', '2205', 'T', '5525', '3909', '2129', 'q', '4877', '4581', '5431', '3087', 'L', '7135', 'C', '1041', '4419', 'y', 'x', 905, 'Z', 5223, 'L', 5501, 4827], [4861, 4759, 'R', 'i', 'L', 8411, 'D', 9921, 'h', 'D', 'Z', 9009, 'D', '2205', 'T', '5525', '3909', '2129', 'q', '4877', '4581', '5431', '3087', 'L', '7135', 'C', '1041', '4419', 'y', 'X', 1753, 9701, 4875, 5953, 443, 'O', 3763, 1927, 7091, 157, 'V', 'i', 'M', 3299, 1035]