In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3373, 'G', '2491', 'A', 'p', '2599', '415', 'e', '4289', 'Q', 'o', 'w', 6155, 7323], ['M', 'X', '2491', 'A', 'p', '2599', '415', 'e', '4289', 'Q', 'f', 'j']