In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8325, 'J', '1099', 'p', 's', '4837', '9163', '7431', '9555', 'O', 'x', 4625, 2525], ['d', 'C', '1099', 'p', 's', '4837', '9163', '7431', '9555', 't', 'O', 8579, 'K', 6715]