In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9423, 'Y', 7273, 9761, 4931, 2535, 9421, 2391, 'd', 4657, 'n', 6043, 3569, 'x', 'f', 'z', 'O', 'O', '8603', '9383', '3825', 'h', 'C', 'h', '5187', 'y', '5391', 'Z', 7761, 'U', 'n', 'W', 7951, 'n'], [5229, 5687, 5163, 'i', 4615, 'T', 'x', 'f', 'z', 'O', 'O', '8603', '9383', '3825', 'h', 'C', 'h', '5187', 'y', '5391', 'J', 'j', 8029, 7329, 'G', 'k', 'T', 'd', 'W', 'u', 8987, 2977]