In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1781, 'N', 7631, 'T', 43, 5827, 2609, 'x', 5, 'M', '905', 'j', '8071', 'b', 'c', 'q', '9649', 'w', '1409', 'B', 'L', '9659', '1383', 'c', '5497', 'C', 'b', 'L', '687', 'j', 'w', 'm', 'L', 'T', 'e', 'n', 'v', 1519, 1113, 3103, 1163, 9989, 3331, 8697, 6445, 8759, 5051], [223, 'm', 9875, 4781, 'P', 9333, '905', 'j', '8071', 'b', 'c', 'q', '9649', 'w', '1409', 'B', 'L', '9659', '1383', 'c', '5497', 'C', 'b', 'L', '687', 'j', 'w', 'm', 'o', 'y', 'q', 'e', 'I', 'T', 1811, 8763, 'y', 3281, 6111, 7791]