In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 7047, 6407, 't', 4669, 4285, 589, 'o', 7825, 5751, 'J', 'x', 7241, 'M', 's', 't', 7951, 5349, 'F', 5523, 'm', '4329', 'J', '1583', 'W', '8677', '6727', '2011', '477', 'w', 'a', '3139', '1517', 'T', '6283', '8143', '2479', '9929', '7329', 'k', 'o', 2531, 'A', 2631, 'j', 'D', 'V', 'u', 6405, 6185, 4501, 'T', 5479, 7409, 'I'], [5845, 'X', 5145, 5065, 6449, 's', 3141, 7525, 8795, 6819, 'L', 'C', 7227, 'k', 'm', '4329', 'J', '1583', 'W', '8677', '6727', '2011', '477', 'w', 'a', '3139', '1517', 'T', '6283', '8143', '2479', '9929', '7329', 'k', 'Q', 'X', 169, 175, 8659, 'J', 'l', 'c', 'R', 643, 7847, 'D', 775, 'i', 5305, 'w', 5881]