In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1215, 'V', 2457, 8139, '2749', '107', 'U', '7179', 'm', '7821', '8441', '2359', '1593', '9013', 'A', '2907', 'R', 'q', 'N', 3561, 8701, 's', 'R', 2223], [4389, 'w', 'D', 'D', 5313, 'y', 'T', '2749', '107', 'U', '7179', 'm', '7821', '8441', '2359', '1593', '9013', 'A', '2907', 'y', 's']