In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8891, 'x', 'P', 'G', 'v', 'j', 'O', 'R', '8361', 'R', 'z', 9165], [4459, 6723, 5015, 'E', 'P', 3163, 'v', 'j', 'O', 'R', '8361', 'R', 'a', 'p']