In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['m', 3291, 9173, 9575, 6927, 'T', 4063, 5497, 6931, 2047, 3995, 'D', 'i', 'X', 'y', '4259', 'W', '3761', '5213', 'g', '5345', 'i', '8391', 'X', 'U', 'd', 'W', 'F', 'Q', 'r', 7753, 't', 939, 4069, 1683, 5995], [3781, 5749, 'H', 'u', 6101, 2641, 2769, 'v', 4501, 'F', 'm', 'n', 'D', 'i', 'X', 'y', '4259', 'W', '3761', '5213', 'g', '5345', 'i', '8391', 'X', 'U', 'd', 'W', 'M', 'q', 8007, 9645]