In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3261, 1259, 'x', 's', 1281, 'H', 567, 2497, 2399, 'g', 4401, 7379, 'Y', '4287', 'o', '7485', '7687', '417', '9777', '1723', '1647', 'M', 'C', '2731', '4107', 'L', '6225', 'J', 'I', '8857', 'V', 'y', 5981, 4105, 5433, 'W', 5097, 4445, 'a'], ['k', 'b', 'n', 9643, 'e', 4175, 'q', 'k', 'b', 'h', '4287', 'o', '7485', '7687', '417', '9777', '1723', '1647', 'M', 'C', '2731', '4107', 'L', '6225', 'J', 'I', '8857', 'V', 'c', 7077, 2725]