In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4227, 9749, 'E', 6815, 4877, 1367, 'F', 'l', '4299', '8737', 'p', '4981', '55', 'w', '7071', '2225', '3843', '7029', 'j', 'L', 'K', 'X', 't', 3741, 'r', 's'], [5281, 5929, 'F', 'l', '4299', '8737', 'p', '4981', '55', 'w', '7071', '2225', '3843', '7029', 'j', 'L', 'E', 'D']