In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1367, 'N', 'q', 'Q', 2701, 'D', 6735, 793, 'n', 'U', 'U', 4041, 3857, 'O', 'L', 'V', 'e', 'a', '3649', '3243', '9127', '5853', '5053', 'G', '7401', '8945', 'f', 'f', 'E', 'F', 'x', 'd', 'R', 6013, 'j', 9899, 'Y', 6663, 'b', 'G', 2031, 5393, 1033, 'M', 2199], [6663, 8865, 'F', 6689, 'N', 9419, 't', 4215, 3047, 'Z', 'a', 'V', 'e', 'a', '3649', '3243', '9127', '5853', '5053', 'G', '7401', '8945', 'f', 'f', 'E', 'F', 'x', 'd', 'M', 3267, 6817, 5935]