In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['e', 451, 'B', 'U', 'j', '8241', '4441', 'T', 'j', '3907', 'S', '9313', 'H', '3587', '2811', '7209', 'A', '6367', '6635', '9249', 'B', 1013, 'w', 'H', 'T', 2263, 'A', 'P', 'D', 'O'], [247, 5585, 'Q', 'n', 7427, 2821, 2563, 'B', 8007, 4627, 5781, 'z', 'j', '8241', '4441', 'T', 'j', '3907', 'S', '9313', 'H', '3587', '2811', '7209', 'A', '6367', '6635', '9249', 'Y', 'p', 'e', 'l']