In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5223, 7277, 6131, 'p', 3695, '1533', '5801', '7261', 'x', '879', 'A', 'e', 'I', 3299], [3653, 'M', 'h', 'y', 'c', '1533', '5801', '7261', 'x', '879', 'A', 'F', 689]