In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1461, 10005, 3151, 'd', 'E', '1477', 'r', 'J', 7799], [2141, 'A', 9383, 'd', 'E', '1477', 'W', 'T', 'o']