In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['J', 'r', 'a', 6561, 'C', '9931', 'H', '5311', 'a', 7065], ['s', 9505, 'o', 8177, 'C', '9931', 'H', '5311', 'v', 5027]