In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 'U', 'w', 9777, 7501, 'F', 4037, '525', '6071', '4975', '273', '5777', 'g', '3911', '6443', 'M', 'X', 'C', 'd', '1575', 'b', 'g', 'y', '6313', 'F', 'q', 't', 'B', 1469, 'i', 'h', 'i'], ['z', 2667, 'e', 'a', 4141, 'r', 'v', 33, 'y', 3723, 9033, 'D', 9809, 'a', 'q', 'e', 9991, '525', '6071', '4975', '273', '5777', 'g', '3911', '6443', 'M', 'X', 'C', 'd', '1575', 'b', 'g', 'y', '6313', 'F', 'X', 'd', 205, 'M', 4421, 185]