In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['R', 491, 5373, 'M', 517, 'L', 1449, 2369, 't', 'X', 'Z', 9869, 4129, 'H', 2733, 5447, 9431, '9067', '4941', '8155', '8333', '6549', '7363', 'f', '2863', 'P', 'R', '8727', 'L', 'R', 'O', 'z', 'y', 'f', 'u', 'n', 'E', 9643, 8875, 1709, 'f', 9239, 2947, 5813, 1099, 'o', 'L', 'H', 4157, 'H', 'E', 'w', 'W', 7859, 9289], [2543, 'X', 6559, 3897, 'q', 7331, 'e', '9067', '4941', '8155', '8333', '6549', '7363', 'f', '2863', 'P', 'R', '8727', 'L', 'R', 'O', 'z', 'y', 'f', 'u', 'n', 'g', 'r', 5717, 'Z', 'o', 'W', 5327, 'W', 4895]