In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2327, 8823, '5491', '3765', '1715', 'D', '3575', 'b', 'M', 'g', 'w', 'I', 'j', '3243', '6953', '2021', '9065', '5959', 'X', 'E', 475, 'y', 4795, 'g', 651, 'D', 'k', 'a', 4439, 'f', 3135, 35, 3435, 3849, 'r', 9969], [3239, 'U', 1889, 'P', 3747, 'U', 579, 215, '5491', '3765', '1715', 'D', '3575', 'b', 'M', 'g', 'w', 'I', 'j', '3243', '6953', '2021', '9065', '5959', 'X', 'C', 3923, 3111, 'k', 'r', 'W', 'x', 8781, 7783]