In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9835, 2351, 't', 'p', 'e', 'H', '7391', '6301', 'p', 'K', 3351, 8335, 7061], [9005, 'd', 7325, 'p', 'e', 'H', '7391', '6301', 'P', 3801]