In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3481, 5833, 'J', 'm', 'p', '7037', '565', 'S', '9461', 'F', '271', '7867', 'V', 'j', 'u', '2879', 'G', '61', 'u', 8777, 6201, 4167, 5529, 'x'], [295, 'D', 3151, 'u', 6715, 'o', 'A', 'r', 'o', 'A', 'Q', 'J', 'm', 'p', '7037', '565', 'S', '9461', 'F', '271', '7867', 'V', 'j', 'u', '2879', 'G', '61', 'f', 'A', 'w', 'e', 9409, 425, 'F', 'Y', 3895, 8531, 733, 4383, 9041, 2947, 7573, 5677]