In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4545, 'x', 'O', 'N', 'z', 'v', 'a', 'X', '6963', '975', 'O', '6841', '2883', 'd', 'B', '10027', '2839', 'y', 2909, 3631, 6525, 1165], [7751, 9371, 'j', 'X', '6963', '975', 'O', '6841', '2883', 'd', 'B', '10027', '2839', 'e', 'w', 8315, 'v']