In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 'P', 'L', 'E', 'w', 'G', 159, 'g', 'C', 'g', 'N', 5467, 6215, 'G', 'c', 1473, 'h', 5967, 'c', 'F', 7467, 'm', '801', '6859', 'L', '2499', '9943', 'l', 'e', 'O', 'x', '6399', '1813', '6213', 'K', 'x', '2815', '1069', '6117', 'c', '2817', '5343', 'v', 'x', 10031, 79, 'q', 'j'], [3617, 'A', 3171, 1171, 'i', 8057, 3251, 'Y', 'b', 4409, 8627, 'R', 'O', 'B', 2049, 7569, 8707, 'w', 'm', '801', '6859', 'L', '2499', '9943', 'l', 'e', 'O', 'x', '6399', '1813', '6213', 'K', 'x', '2815', '1069', '6117', 'c', '2817', '5343', 'p', 'g', 'q', 'o', 'S', 'E', 6137, 5389, 'E']