In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6497, 1389, 9729, 'y', 'w', 'H', 'x', 'W', 'F', 7647, 't', 5583, 'r', 'o', '5989', 'P', 'E', '1169', '525', 'j', 'M', 'k', '7057', '6159', '4631', '7325', '423', 'A', 'F', 'k', '1965', 'Z', 'X', 'l', '4173', 'R', '9765', 'i', '1777', '9577', 'D', 'D', 9229, 39, 'L', 5375, 5175], [9621, 1105, 'N', 'A', 'q', 'o', '5989', 'P', 'E', '1169', '525', 'j', 'M', 'k', '7057', '6159', '4631', '7325', '423', 'A', 'F', 'k', '1965', 'Z', 'X', 'l', '4173', 'R', '9765', 'i', '1777', '9577', 'D', 'E', 9891, 'p', 463, 1359, 't', 8531, 'N', 1169, 'C', 9719, 'R', 8989, 1177, 8657]